TryReadBytes(int, ReadOnlySpan<byte>)
abstract
public abstract bool TryReadBytes(int length, out ReadOnlySpan<byte> bytes) Tries to read the specified number of bytes from the input.
Parameters
lengthint- The number of bytes to read..
bytesReadOnlySpan<byte>- The bytes which were read..
Returns
true if the number of bytes were successfully read, false otherwise.