public static class ChunkReader.Chunk
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ChunkReader.Chunk(int id,
ChunkReader.Chunk parent,
byte[] bytes,
int offset,
int size) |
| Modifier and Type | Method and Description |
|---|---|
ChunkReader.Chunk |
getChild(int id) |
Array<ChunkReader.Chunk> |
getChildren() |
ChunkReader.Chunk[] |
getChildren(int id) |
int |
getId() |
ChunkReader.Chunk |
getParent() |
int |
readByte() |
byte[] |
readBytes() |
double |
readDouble() |
double[] |
readDoubles() |
float |
readFloat() |
float[] |
readFloats() |
int |
readInt() |
int[] |
readInts() |
long |
readLong() |
long[] |
readLongs() |
short |
readShort() |
short[] |
readShorts() |
java.lang.String |
readString() |
protected ChunkReader.Chunk(int id,
ChunkReader.Chunk parent,
byte[] bytes,
int offset,
int size)
throws java.io.IOException
java.io.IOExceptionpublic int getId()
public ChunkReader.Chunk getParent()
public Array<ChunkReader.Chunk> getChildren()
public int readByte()
public short readShort()
public int readInt()
public long readLong()
public float readFloat()
public double readDouble()
public byte[] readBytes()
public short[] readShorts()
public int[] readInts()
public long[] readLongs()
public float[] readFloats()
public double[] readDoubles()
public java.lang.String readString()
public ChunkReader.Chunk getChild(int id)
public ChunkReader.Chunk[] getChildren(int id)