pub fn encode(values: &[i64]) -> Result<Vec<u8>, CodecError>
Encode a slice of i64 values using FOR + bit-packing.