Home
last modified time | relevance | path

Searched refs:bufStream (Results 1 – 2 of 2) sorted by relevance

/external/lzma/Java/Tukaani/src/org/tukaani/xz/
DBlockOutputStream.java42 ByteArrayOutputStream bufStream = new ByteArrayOutputStream(); in BlockOutputStream() local
46 bufStream.write(0x00); in BlockOutputStream()
50 bufStream.write(filters.length - 1); in BlockOutputStream()
54 EncoderUtil.encodeVLI(bufStream, filters[i].getFilterID()); in BlockOutputStream()
56 EncoderUtil.encodeVLI(bufStream, filterProps.length); in BlockOutputStream()
57 bufStream.write(filterProps); in BlockOutputStream()
61 while ((bufStream.size() & 3) != 0) in BlockOutputStream()
62 bufStream.write(0x00); in BlockOutputStream()
64 byte[] buf = bufStream.toByteArray(); in BlockOutputStream()
DBlockInputStream.java75 ByteArrayInputStream bufStream = new ByteArrayInputStream( in BlockInputStream() local
87 compressedSizeInHeader = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()
99 uncompressedSizeInHeader = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()
103 filterIDs[i] = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()
105 long filterPropsSize = DecoderUtil.decodeVLI(bufStream); in BlockInputStream()
106 if (filterPropsSize > bufStream.available()) in BlockInputStream()
110 bufStream.read(filterProps[i]); in BlockInputStream()
118 for (int i = bufStream.available(); i > 0; --i) in BlockInputStream()
119 if (bufStream.read() != 0x00) in BlockInputStream()