Skip to main content

IDENTIFIER_MAX_LEN

Constant IDENTIFIER_MAX_LEN 

Source
pub const IDENTIFIER_MAX_LEN: usize = 512;
Expand description

Maximum length (in bytes) of the caller-supplied identifier stored in the file header. Sized to comfortably accommodate sha512 hex (128 bytes) plus a caller prefix. Stored length-prefixed inside a fixed-size field so the header layout is constant regardless of identifier length.