Skip to main content

Module typed_buffer

Module typed_buffer 

Source
Expand description

TypedBuffer: width-specific buffer with optional null/validity bitmap.

Used by typed array HeapValue variants (IntArray, FloatArray, BoolArray, I8Array, I16Array, etc.) to provide a uniform nullable container.

The validity bitmap is bit-packed: one bit per element, packed into u64 words. A 1 bit means the element is valid; 0 means null. When validity is None, all elements are considered valid (no nulls).

Structsยง

AlignedTypedBuffer
Float-specific typed buffer that uses AlignedVec for SIMD compatibility.
TypedBuffer
Width-specific buffer with optional null bitmap.