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

private static class S2PointVectorCoder.ByteArrayOutput extends ByteArrayOutputStream
A thin wrapper over ByteArrayOutputStream which allows the last written byte to be removed.
  • Constructor Details

    • ByteArrayOutput

      private ByteArrayOutput()
  • Method Details

    • removeLast

      int removeLast()
      Removes and returns the last written byte.