Class CompressedBlock
java.lang.Object
io.datarouter.filesystem.snapshot.compress.CompressedBlock
public class CompressedBlock
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description byte[][]chunksinttotalLength -
Constructor Summary
Constructors Constructor Description CompressedBlock(byte[] bytes)CompressedBlock(byte[][] chunks)CompressedBlock(int totalLength, byte[][] chunks) -
Method Summary
Modifier and Type Method Description java.util.Iterator<byte[]>chunkIterator()
-
Field Details
-
totalLength
public final int totalLength -
chunks
public final byte[][] chunks
-
-
Constructor Details
-
CompressedBlock
public CompressedBlock(byte[] bytes) -
CompressedBlock
public CompressedBlock(byte[][] chunks) -
CompressedBlock
public CompressedBlock(int totalLength, byte[][] chunks)
-
-
Method Details
-
chunkIterator
public java.util.Iterator<byte[]> chunkIterator()
-