BinaryReader structure

Reads primitive values from binary Avro data.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public struct BinaryReader
BaseValueType

Constructors

BinaryReader(ReadOnlySpan<byte>)
Initializes a new instance of the BinaryReader struct.

Properties

long Index
Gets the current position of the reader.

Methods

bool ReadBoolean()
Reads a Boolean value from the current position and advances the reader.
byte[] ReadBytes()
Reads variable-length binary data from the current position and advances the reader.
double ReadDouble()
Reads a double-precision floating-point number from the current position and advances the reader.
byte[] ReadFixed(int)
Reads fixed-length binary data from the current position and advances the reader.
long ReadInteger()
Reads a variable-length integer from the current position and advances the reader.
float ReadSingle()
Reads a single-precision floating-point number from the current position and advances the reader.
string ReadString()
Reads a UTF-8 string from the current position and advances the reader.
Chr.Avro