Class StreamByteBuffer.StreamByteBufferChunk

java.lang.Object
org.grails.buffer.StreamByteBuffer.StreamByteBufferChunk
Enclosing class:
StreamByteBuffer

protected static class StreamByteBuffer.StreamByteBufferChunk extends Object
  • Constructor Details

    • StreamByteBufferChunk

      public StreamByteBufferChunk(int size)
  • Method Details

    • readToNioBuffer

      public ByteBuffer readToNioBuffer()
    • write

      public boolean write(byte b)
    • write

      public void write(byte[] b, int off, int len)
    • read

      public void read(byte[] b, int off, int len)
    • writeTo

      public void writeTo(OutputStream target) throws IOException
      Throws:
      IOException
    • reset

      public void reset()
    • bytesUsed

      public int bytesUsed()
    • bytesUnread

      public int bytesUnread()
    • read

      public int read()
    • spaceLeft

      public int spaceLeft()