<PackageReference Include="Apache.Arrow" Version="23.0.0" />

Google.FlatBuffers.ByteBuffer

class ByteBuffer
namespace Google.FlatBuffers { internal class ByteBuffer { public int Position { get; set; } public int Length { get; } public ByteBuffer(ByteBufferAllocator allocator, int position); public ByteBuffer(int size); public ByteBuffer(byte[] buffer); public ByteBuffer(byte[] buffer, int pos); public void Reset(); public ByteBuffer Duplicate(); public void GrowFront(int newSize); public byte[] ToArray(int pos, int len); public static int SizeOf<T>(); public static bool IsSupportedType<T>(); public static int ArraySize<T>(T[] x); public static int ArraySize<T>(ArraySegment<T> x); public static int ArraySize<T>(Span<T> x); public T[] ToArray<T>(int pos, int len) where T : struct; public byte[] ToSizedArray(); public byte[] ToFullArray(); public ReadOnlyMemory<byte> ToReadOnlyMemory(int pos, int len); public Memory<byte> ToMemory(int pos, int len); public Span<byte> ToSpan(int pos, int len); public static ushort ReverseBytes(ushort input); public static uint ReverseBytes(uint input); public static ulong ReverseBytes(ulong input); public void PutSbyte(int offset, sbyte value); public void PutByte(int offset, byte value); public void PutByte(int offset, byte value, int count); public void Put(int offset, byte value); public void PutStringUTF8(int offset, string value); public void PutShort(int offset, short value); public void PutUshort(int offset, ushort value); public void PutInt(int offset, int value); public void PutUint(int offset, uint value); public void PutLong(int offset, long value); public void PutUlong(int offset, ulong value); public void PutFloat(int offset, float value); public void PutDouble(int offset, double value); public sbyte GetSbyte(int index); public byte Get(int index); public string GetStringUTF8(int startPos, int len); public short GetShort(int offset); public ushort GetUshort(int offset); public int GetInt(int offset); public uint GetUint(int offset); public long GetLong(int offset); public ulong GetUlong(int offset); public float GetFloat(int offset); public double GetDouble(int offset); public int Put<T>(int offset, T[] x) where T : struct; public int Put<T>(int offset, ArraySegment<T> x) where T : struct; public int Put<T>(int offset, IntPtr ptr, int sizeInBytes) where T : struct; public int Put<T>(int offset, Span<T> x) where T : struct; } }