Constructor AvroWriter
AvroWriter(IBufferWriter<byte>)
Initializes a writer that appends to output.
public AvroWriter(IBufferWriter<byte> output)
Parameters
outputIBufferWriter<byte>The destination; call Flush() to commit the final bytes to it.
AvroWriter(Span<byte>)
Initializes a writer over a fixed destination. Writing more than it holds throws AvroException.
public AvroWriter(Span<byte> destination)