Table of Contents

Constructor AvroWriter

Namespace
AvroSharp.IO
Assembly
AvroSharp.dll

AvroWriter(IBufferWriter<byte>)

Initializes a writer that appends to output.

public AvroWriter(IBufferWriter<byte> output)

Parameters

output IBufferWriter<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)

Parameters

destination Span<byte>

The buffer to write into.