clps.appendIntToStream(1000000000);
clps.appendIntToStream(Integer.MAX_VALUE);
ByteArrayInputStream bais = new ByteArrayInputStream(clps
.convertStreamToByteArray());
IntDecoder decoder = new DGapIntDecoder(new NOnesIntDecoder(3));
decoder.reInit(bais);
assertEquals("Wrong value in byte stream", 1, decoder.decode());
assertEquals("Wrong value in byte stream", 10, decoder.decode());
assertEquals("Wrong value in byte stream", 100, decoder.decode());
assertEquals("Wrong value in byte stream", 1000, decoder.decode());