ByteChunk.ByteInputChannel (Apache Tomcat 7.0.76 API Documentation)

org.apache.tomcat.util.buf

## Interface ByteChunk.ByteInputChannel

- All Known Implementing Classes:
    InputBuffer
  Enclosing class:
    ByteChunk

      public static interface ByteChunk.ByteInputChannel

  Input interface, used when the buffer is empty Same as java.nio.channel.ReadableByteChannel

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `realReadBytes(byte[] cbuf, int off, int len)` Read new bytes ( usually the internal conversion buffer ).

- - ### Method Detail

    - #### realReadBytes

          int realReadBytes(byte[] cbuf,
                          int off,
                          int len)
                            throws IOException

      Read new bytes ( usually the internal conversion buffer ). The implementation is allowed to ignore the parameters, and mutate the chunk if it wishes to implement its own buffering.
      Throws:
        `IOException`

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.