Example usage for Java io.netty.buffer ByteBufInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
ByteBufInputStream(ByteBuf buffer, int length, boolean releaseOnClose) Creates a new stream which reads data from the specified buffer starting at the current readerIndex and ending at readerIndex + length . | |
ByteBufInputStream(ByteBuf buffer) Creates a new stream which reads data from the specified buffer starting at the current readerIndex and ending at the current writerIndex . | |
ByteBufInputStream(ByteBuf buffer, int length) Creates a new stream which reads data from the specified buffer starting at the current readerIndex and ending at readerIndex + length . | |
ByteBufInputStream(ByteBuf buffer, boolean releaseOnClose) Creates a new stream which reads data from the specified buffer starting at the current readerIndex and ending at the current writerIndex . |
int | available() |
void | close() |
int | read(byte[] b, int off, int len) |
boolean | readBoolean() |
byte | readByte() |
double | readDouble() |
float | readFloat() |
int | readInt() |
String | readLine() |
long | readLong() |
short | readShort() |
String | readUTF() |
void | reset() |