Package net.minecraft.world.storage
Class RegionFile.ChunkBuffer
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
net.minecraft.world.storage.RegionFile.ChunkBuffer
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- RegionFile
class RegionFile.ChunkBuffer extends ByteArrayOutputStream
-
Field Summary
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
Constructor Summary
Constructors Constructor Description ChunkBuffer(ChunkPos chunkPos)
-
Method Summary
Modifier and Type Method Description void
close()
Methods inherited from class java.io.ByteArrayOutputStream
reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Field Details
-
pos
-
-
Constructor Details
-
ChunkBuffer
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classByteArrayOutputStream
- Throws:
IOException
-