org.glassfish.grizzly.http.util
Interface ByteChunk.ByteInputChannel

Enclosing class:
ByteChunk

public static interface ByteChunk.ByteInputChannel


Method Summary
 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 © 2013 Oracle Corporation. All Rights Reserved.