pub fn new(start: u64, w: T) -> Self {
        let mut e = StdEncoder {
            time: start,
            delta: 0,
            value_bits: 0,
            leading_zeroes: 64,  // 64 is an initial sentinel value
            trailing_zeroes: 64, // 64 is an intitial sentinel value
            first: true,
            w,
        };

        // write timestamp header
        e.w.write_bits(start, 64);

        e
    }
/// new creates a new StdEncoder whose starting timestamp is `start` and writes its encoded
/// bytes to `w`
new creates a new StdEncoder whose starting timestamp is `start` and writes its encoded
bytes to `w`
new creates a new StdEncoder whose starting timestamp is ` start ` and writes its encoded bytes to ` w `
pub fn new(start: u64, w: T) -> Self {
        let mut e = StdEncoder {
            time: start,
            delta: 0,
            value_bits: 0,
            leading_zeroes: 64,  // 64 is an initial sentinel value
            trailing_zeroes: 64, // 64 is an intitial sentinel value
            first: true,
            w,
        };
        // write timestamp header
        e.w.write_bits(start, 64);
        e
    }
pub fn new ( start : u64 , w : T ) -> Self { let mut e = StdEncoder { time : start , delta : 0 , value_bits : 0 , leading_zeroes : 64 , // 64 is an initial sentinel value trailing_zeroes : 64 , // 64 is an intitial sentinel value first : true , w , } ; // write timestamp header e . w . write_bits ( start , 64 ) ; e }
new creates a new StdEncoder whose starting timestamp is `start` and writes its encoded
bytes to `w`
new creates a new StdEncoder whose starting timestamp is ` start ` and writes its encoded bytes to ` w `
start
u64
w
T
start
u64
w
T