internal unsafe void HeaderOut(out OggPacket packet) =>
 packet = new OggPacket
 {
     Packet       = Marshal.ReadIntPtr(Handle.DangerousGetHandle()),
     Bytes        = Marshal.ReadInt32(IntPtr.Add(Handle.DangerousGetHandle(), sizeof(IntPtr))),
     PacketNumber = 1
 };
Пример #2
0
 internal bool PacketOut(out OggPacket packet) => SafeNativeMethods.OggStreamPacketOut(_state, out packet) == 1;
 internal unsafe void HeaderOut(out OggPacket packet) =>
 packet = new()