Package com.google.common.geometry
Class S2PointVectorCoder.ByteArrayOutput
java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
com.google.common.geometry.S2PointVectorCoder.ByteArrayOutput
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
S2PointVectorCoder
A thin wrapper over
ByteArrayOutputStream
which allows the last written byte to be
removed.-
Field Summary
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) int
Removes and returns the last written byte.Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Constructor Details
-
ByteArrayOutput
private ByteArrayOutput()
-
-
Method Details
-
removeLast
int removeLast()Removes and returns the last written byte.
-