class RegionFile.ChunkBuffer extends ByteArrayOutputStream
Modifier and Type | Field and Description |
---|---|
private ChunkPos |
pos |
buf, count
Constructor and Description |
---|
ChunkBuffer(ChunkPos chunkPos) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
reset, size, toByteArray, toString, toString, toString, write, write, writeTo
flush, write
private final ChunkPos pos
public ChunkBuffer(ChunkPos chunkPos)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class ByteArrayOutputStream
IOException