Class AbstractNonStreamingHashFunction.ExposedByteArrayOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Enclosing class:
    AbstractNonStreamingHashFunction

    private static final class AbstractNonStreamingHashFunction.ExposedByteArrayOutputStream
    extends java.io.ByteArrayOutputStream
    • Field Summary

      • Fields inherited from class java.io.ByteArrayOutputStream

        buf, count
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] byteArray()  
      (package private) int length()  
      (package private) void write​(java.nio.ByteBuffer input)  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExposedByteArrayOutputStream

        ExposedByteArrayOutputStream​(int expectedInputSize)
    • Method Detail

      • write

        void write​(java.nio.ByteBuffer input)
      • byteArray

        byte[] byteArray()
      • length

        int length()