Class RegionFile.ChunkBuffer
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
net.minecraft.world.level.chunk.storage.RegionFile.ChunkBuffer
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
RegionFile
-
Field Summary
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
Constructor Summary
-
Method Summary
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
-