// cover negative numbers;
IntEncoder enc = new VInt8IntEncoder();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
enc.reInit(baos);
enc.encode(-1);
IntDecoder dec = enc.createMatchingDecoder();
dec.reInit(new ByteArrayInputStream(baos.toByteArray()));
assertEquals(-1, dec.decode());
}