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:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- S2PointVectorCoder
private static class S2PointVectorCoder.ByteArrayOutput extends java.io.ByteArrayOutputStream
A thin wrapper overByteArrayOutputStream
which allows the last written byte to be removed.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ByteArrayOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
removeLast()
Removes and returns the last written byte.
-