tsz 0.1.4

A crate for time series compression based upon Facebook's Gorilla whitepaper
Documentation
1
2
3
4
5
6
7
8
9
10
11
use DataPoint;

/// Encode
///
/// Encode is the trait used to encode a stream of `DataPoint`s.
pub trait Encode {
    fn encode(&mut self, dp: DataPoint);
    fn close(self) -> Box<[u8]>;
}

pub mod std_encoder;