Table of Contents

Namespace AvroSharp.IO

The Avro binary encoding at the lowest level. AvroWriter writes into an IBufferWriter<byte> or a fixed Span<byte> without intermediate buffers, and AvroReader reads from a ReadOnlySpan<byte> or a ReadOnlySequence<byte>. Both work one value at a time and know nothing of schemas. The generic readers and writers of AvroSharp.Generic and the serializers of generated types (AvroSharp.Serialization) are built on them. Use them directly to write a serializer by hand.

Structs

AvroReader

Reads Avro binary encoding from a ReadOnlySpan<T> or a (possibly multi-segment) ReadOnlySequence<T>.

AvroWriter

Writes Avro binary encoding directly into an IBufferWriter<T> or a fixed Span<T>, without intermediate buffers or per-value allocations.