anchor.diff:  
   Adds a new floating-point value to the time series. If you wish to store only long values, use `c.addValue(long,
   long)`, however do `not` mix these in the same series.
  +
  +One can also use Java 8 streaming (available only in 2.x format):
  +
  +[source, java]
  +----
  +Stream<Pair> stream = ...;
  +c.compressLongStream(stream);
  +----
  +
   After the block is ready, remember to call
   
   [source, java]
  
positive.code: 
  === Decompressing
  
  [source, java]
  ----
  ByteBufferBitInput input = new ByteBufferBitInput(byteBuffer);
  Decompressor d = new Decompressor(input);
  ----
  
  To decompress a stream of bytes, supply `Decompressor` with a suitable implementation of `BitInput` interface. The ByteBufferBitInput allows to decompress a byte array or existing `ByteBuffer` presentation.
  
  [source, java]
  ----
  
negative.code: [source, xml]
  ----
      <dependency>
          <groupId>fi.iki.yak</groupId>
          <artifactId>compression-gorilla</artifactId>
      </dependency>
  ----
  
  You can find latest version from the maven logo link above.
  
  === Compressing
  
  To compress in the older 1.x format, use class ``Compressor``. For 2.x, use ``GorillaCompressor`` (recommended).
  ``ByteBufferLongOutput`` is also recommended compared to ``ByteBufferBitOutput`` because of performance.
  
  [source, java]
  ----
  long now = LocalDateTime.now(ZoneOffset.UTC).truncatedTo(ChronoUnit.HOURS)
          .toInstant(ZoneOffset.UTC).toEpochMilli();
  
  ByteBufferLongOutput output = new ByteBufferLongOutput();
  GorillaCompressor c = new GorillaCompressor(now, output);
  ----
  
  Compression class requires a block timestamp and an implementation of `BitOutput` interface. `ByteBufferLongOutput` is an in-memory example that uses off-heap storage.
  
  [source, java]
  ----
  