Constant mz_avro::util::MAX_ALLOCATION_BYTES
source ยท pub const MAX_ALLOCATION_BYTES: usize = _; // 536_870_912usize
Expand description
Maximum number of bytes that can be allocated when decoding Avro-encoded values. This is a protection against ill-formed data, whose length field might be interpreted as enormous.