Skip to main content

MAX_KEY_LEN

Constant MAX_KEY_LEN 

Source
pub const MAX_KEY_LEN: usize = 8;
Expand description

Inline byte capacity of a Key. Keys longer than this spill to the heap — there is no hard cap (unlike a fixed array). The V1 ABI uses 1-byte keys; 8 bytes inline covers an address-sized key without allocating.