public unsafe void AddMem(ReadOnlySpan <byte> buffer) { fixed(byte *ptr = buffer) { LibFluidsynth.fluid_player_add_mem(Handle, (IntPtr)ptr, buffer.Length); } }
public void AddMem(IntPtr buffer, int length) { ThrowIfDisposed(); LibFluidsynth.fluid_player_add_mem(Handle, buffer, length); }
public void AddMem(IntPtr buffer, int length) { LibFluidsynth.fluid_player_add_mem(Handle, buffer, length); }