Skip to main content

encode_page

Function encode_page 

Source
pub fn encode_page(
    ty: TypeId,
    values: &[Value],
    encoding: Encoding,
) -> Result<Vec<u8>>
Expand description

Encode a column page for the chosen Encoding. The page is self-describing (a 1-byte algo prefix), so the reader needs no side metadata to decode it.