@Test
public void readLongTest() throws IOException {

  long l = 32143422454243342L;
  byte[] bs = BytesUtils.longToBytes(l);
  InputStream in = new ByteArrayInputStream(bs);
  assertEquals(l, BytesUtils.readLong(in));
}