pub fn encode_i64(val: i64, descending: bool, key: &mut Vec<u8>)Expand description
Encodes an i64 value as memcomparable bytes.
XOR with sign bit to convert signed comparison to unsigned, then big-endian encoding. Optionally flip all bits for descending.