public final class ChannelBufferUnsafeFramedInputStream extends ChannelBufferUnsafeDataInputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxFrameBufferSize |
addrLimit, addrPosition, baseAddress, bufferbytesRead, channel, PARK_NANOS_MAX, parkedThread| Constructor and Description |
|---|
ChannelBufferUnsafeFramedInputStream(ReadableByteChannel channel) |
ChannelBufferUnsafeFramedInputStream(ReadableByteChannel channel,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
readFrame() |
int |
readFrameFragment(int fragmentSize) |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skip, skipBytesallocateBuffer, available, close, isOpen, read, read, read, read, readInt, refillBuffer, resetBufferPositionsgetBytesRead, getParkedThread, getUnderlyingChannel, readBuffered, readIntoBuffer, readIntoBufferNonBlocking, refillBufferBase, resetAndCopyLeftOverBytesmark, markSupported, resetpublic ChannelBufferUnsafeFramedInputStream(ReadableByteChannel channel) throws IOException
IOExceptionpublic ChannelBufferUnsafeFramedInputStream(ReadableByteChannel channel, int bufferSize) throws IOException
IOExceptionpublic final int readFrame()
throws IOException
readFrame in class InputStreamChannelIOExceptionpublic final int readFrameFragment(int fragmentSize)
throws IOException
readFrameFragment in class InputStreamChannelIOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.