Class AvroStreamOptions
Options for AvroStreamReader<T> and AvroStreamWriter<T>.
public sealed class AvroStreamOptions
- Inheritance
-
AvroStreamOptions
- Inherited Members
Fields
- DefaultBufferSize
The default BufferSize: 64 KiB.
- DefaultMaxDatumLength
The default MaxDatumLength: 64 MiB.
Properties
- BufferSize
Gets the size of the buffer between the stream and the objects. The writer writes to the stream once this many bytes are buffered; the reader reads this much at a time. The default is DefaultBufferSize.
- Default
Gets the default options.
- MaxDatumLength
Gets the largest object the reader buffers, in bytes. It bounds the memory a stream can make the reader allocate, whether the object is large or the data is corrupt. The default is DefaultMaxDatumLength.