org.apache.tomcat.util.buf

Interface ByteChunk.ByteInputChannel

public static interface ByteChunk.ByteInputChannel

Input interface, used when the buffer is emptiy Same as java.nio.channel.ReadableByteChannel
Method Summary
intrealReadBytes(byte[] cbuf, int off, int len)
Read new bytes ( usually the internal conversion buffer ).

Method Detail

realReadBytes

public int realReadBytes(byte[] cbuf, int off, int len)
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.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.