pub type Buffer<const CAP: usize = DEF_STACK_CAP> = SmallVec<[Byte; CAP]>;Expand description
Inline-backed byte buffer used by serialized keys and values.
The const parameter sets the number of bytes stored inline by [SmallVec].
Capacity growth beyond that budget uses heap storage without truncating the
payload.
Aliased Typeยง
pub struct Buffer<const CAP: usize = DEF_STACK_CAP> { /* private fields */ }