Property MaxDatumLength
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.
public int MaxDatumLength { get; init; }