Microsoft.Data.Common.ReadOnlySequenceUtilities
public static bool ReadByte(this ref ReadOnlySequence sequence, ref ReadOnlySpan currSpan, ref long currPos, out byte value)
Reads the next byte from the sequence, advancing its position by one byte.
public static bool ReadLittleEndian(this ref ReadOnlySequence sequence, ref ReadOnlySpan currSpan, ref long currPos, out ushort value)
Reads the next two bytes from the sequence as a UInt16, advancing its position by two bytes.