public class Chunk extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
data |
int |
length |
int |
offset |
int |
type |
Constructor and Description |
---|
Chunk()
Blank constructor.
|
Chunk(int type,
byte[] data,
int offset,
int length)
Constructor with all fields.
|
Chunk(int type,
ByteBuffer buf)
Construct from a ByteBuffer.
|
public int type
public byte[] data
public int offset
public int length
public Chunk()
public Chunk(int type, byte[] data, int offset, int length)
public Chunk(int type, ByteBuffer buf)