private byte[] readStringLiteral(InputStream in, int length) throws IOException { byte[] buf = new byte[length]; if (in.read(buf) != length) { throw DECOMPRESSION_EXCEPTION; } if (huffmanEncoded) { return Huffman.DECODER.decode(buf); } else { return buf; } }
private byte[] readStringLiteral(InputStream in, int length) throws IOException { byte[] buf = new byte[length]; if (in.read(buf) != length) { throw DECOMPRESSION_EXCEPTION; } if (huffmanEncoded) { return Huffman.DECODER.decode(buf); } else { return buf; } }