(timestamps: &[i64])
| 77 | // --------------------------------------------------------------------------- |
| 78 | |
| 79 | pub fn encode_timestamps_col(timestamps: &[i64]) -> Vec<u8> { |
| 80 | nodedb_codec::gorilla::encode_timestamps(timestamps) |
| 81 | } |
| 82 | |
| 83 | pub fn decode_timestamps_col(data: &[u8]) -> ArrayResult<Vec<i64>> { |
| 84 | nodedb_codec::gorilla::decode_timestamps(data).map_err(codec_err) |