Searched refs:bufStream (Results 1 – 2 of 2) sorted by relevance
43 ByteArrayOutputStream bufStream = new ByteArrayOutputStream(); in BlockOutputStream() local47 bufStream.write(0x00); in BlockOutputStream()51 bufStream.write(filters.length - 1); in BlockOutputStream()55 EncoderUtil.encodeVLI(bufStream, filters[i].getFilterID()); in BlockOutputStream()57 EncoderUtil.encodeVLI(bufStream, filterProps.length); in BlockOutputStream()58 bufStream.write(filterProps); in BlockOutputStream()62 while ((bufStream.size() & 3) != 0) in BlockOutputStream()63 bufStream.write(0x00); in BlockOutputStream()65 byte[] buf = bufStream.toByteArray(); in BlockOutputStream()
76 ByteArrayInputStream bufStream = new ByteArrayInputStream( in BlockInputStream() local88 compressedSizeInHeader = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()100 uncompressedSizeInHeader = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()104 filterIDs[i] = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()106 long filterPropsSize = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()107 if (filterPropsSize > bufStream.available()) in BlockInputStream()111 bufStream.read(filterProps[i]); in BlockInputStream()119 for (int i = bufStream.available(); i > 0; --i) in BlockInputStream()120 if (bufStream.read() != 0x00) in BlockInputStream()