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.channels.ReadableByteChannel
Author:
dac@sun.com, James Todd [gonzo@sun.com], Costin Manolache, Remy Maucherat
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Read new bytes.
  • Method Details

    • realReadBytes

      int realReadBytes() throws IOException
      Read new bytes.
      Returns:
      The number of bytes read
      Throws:
      IOException - If an I/O error occurs during reading