예제 #1
0
 internal OggSync()
 {
     _state = Marshal.AllocHGlobal(Marshal.SizeOf <OggSyncState>());
     SafeNativeMethods.OggSyncInit(_state);
 }
예제 #2
0
 internal unsafe OggSync()
 {
     _state = Marshal.AllocHGlobal(sizeof(OggSyncState));
     SafeNativeMethods.OggSyncInit(_state);
 }