adam._validateLength

private void _validateLength(size_t n) @safe

Validate that a length value fits in the tagged-length representation.

Throws

AdamException if n exceeds the maximum representable length

(2^60 - 1 on 64-bit, 2^28 - 1 on 32-bit).