EnsureAvailable(uint)
public void EnsureAvailable(uint count) Throws if fewer than
count bytes remain in the input. Parameters
countuint- The number of bytes which are required.
public void EnsureAvailable(uint count)count bytes remain in the input. countuintpublic void ForkFrom(long position, out Reader<TInput> forked)positionlongforkedReader<TInput>public byte PeekByte()public byte ReadByte()public byte[] ReadBytes(uint count)countuintpublic void ReadBytes(scoped Span<byte> destination)destination with bytes read from the input. destinationSpan<byte>public void ReadBytes<TBufferWriter>(scoped ref TBufferWriter writer, int count)writerTBufferWritercountintpublic int ReadInt32()System.Int32 from the input. System.Int32 which was read.public long ReadInt64()System.Int64 from the input. System.Int64 which was read.public uint ReadUInt32()System.UInt32 from the input. System.UInt32 which was read.public ulong ReadUInt64()System.UInt64 from the input. System.UInt64 which was read.public uint ReadVarUInt32()System.UInt32 from the input. System.UInt32 which was read.public ulong ReadVarUInt64()System.UInt64 from the input. System.UInt64 which was read.public void ResumeFrom(long position)positionlongpublic void Skip(long count)countlongpublic bool TryReadBytes(int length, out ReadOnlySpan<byte> bytes)lengthintbytesReadOnlySpan<byte>true if the specified number of bytes were read from the input, false otherwise.