Skip to main content

MAX_NAME_KEY_BYTES

Constant MAX_NAME_KEY_BYTES 

Source
pub const MAX_NAME_KEY_BYTES: usize = 768;
Expand description

Maximum name-key length in UTF-8 bytes. Keys are derived from display names capped at crate::path::MAX_DISPLAY_NAME_BYTES; case folding expands at most threefold in bytes, so 768 admits every key derivable from a valid name while bounding row keys, filter keys, and cursors.