BinaryWriter class

Writes primitive values to binary Avro data.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public sealed class BinaryWriter : IDisposable
Baseobject
InterfacesIDisposable

Constructors

BinaryWriter(Stream)
Initializes a new instance of the BinaryWriter class.

Methods

void Dispose()
Frees any resources used by the writer and flushes the Stream. The Stream is not disposed.
void WriteBoolean(bool)
Writes a Boolean value to the current position and advances the writer.
void WriteBytes(byte[])
Writes variable-length binary data to the current position and advances the writer.
void WriteDouble(double)
Writes a double-precision floating-point number to the current position and advances the writer.
void WriteFixed(byte[])
Writes fixed-length binary data to the current position and advances the writer.
void WriteInteger(int)
Writes a variable-length integer to the current position and advances the writer.
void WriteInteger(long)
Writes a variable-length integer to the current position and advances the writer.
void WriteSingle(float)
Writes a double-precision floating point number to the current position and advances the writer.
void WriteString(string)
Writes a UTF-8 string to the current position and advances the writer.
Chr.Avro