reader = new LittleEndianInputStream(bufferedStream);
int nBytes = reader.readInt();
byte[] compressedBytes = new byte[nBytes];
bufferedStream.readFully(compressedBytes);
byte[] bytes = compressionUtils.decompress(compressedBytes);
ByteArrayInputStream bis = new ByteArrayInputStream(bytes);
reader = new LittleEndianInputStream(bis);