public class StreamingByteBuf
extends io.netty.buffer.AbstractReferenceCountedByteBuf
| Constructor and Description |
|---|
StreamingByteBuf(io.netty.channel.Channel streamChannel,
ByteOrder endianness,
int estimatedLength) |
StreamingByteBuf(io.netty.channel.Channel streamChannel,
ByteOrder endianness,
int estimatedLength,
io.netty.buffer.ByteBufAllocator allocator) |
StreamingByteBuf(io.netty.channel.Channel streamChannel,
int estimatedLength) |
| Modifier and Type | Method and Description |
|---|---|
protected byte |
_getByte(int index) |
protected int |
_getInt(int index) |
protected long |
_getLong(int index) |
protected short |
_getShort(int index) |
protected int |
_getUnsignedMedium(int index) |
protected void |
_setByte(int index,
int value) |
protected void |
_setInt(int index,
int value) |
protected void |
_setLong(int index,
long value) |
protected void |
_setMedium(int index,
int value) |
protected void |
_setShort(int index,
int value) |
io.netty.buffer.ByteBufAllocator |
alloc() |
byte[] |
array() |
int |
arrayOffset() |
int |
capacity() |
io.netty.buffer.ByteBuf |
capacity(int newCapacity) |
io.netty.buffer.ByteBuf |
copy(int index,
int length) |
protected void |
deallocate() |
io.netty.buffer.ByteBuf |
duplicate() |
io.netty.buffer.ByteBuf |
ensureWritable(int minWritableBytes) |
void |
flush() |
byte |
getByte(int index) |
io.netty.buffer.ByteBuf |
getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
io.netty.buffer.ByteBuf |
getBytes(int index,
ByteBuffer dst) |
io.netty.buffer.ByteBuf |
getBytes(int index,
io.netty.buffer.ByteBuf dst,
int dstIndex,
int length) |
int |
getBytes(int index,
GatheringByteChannel out,
int length) |
io.netty.buffer.ByteBuf |
getBytes(int index,
OutputStream out,
int length) |
int |
getInt(int index) |
long |
getLong(int index) |
short |
getShort(int index) |
int |
getTotalLength() |
int |
getUnsignedMedium(int index) |
boolean |
hasArray() |
boolean |
hasMemoryAddress() |
ByteBuffer |
internalNioBuffer(int index,
int length) |
boolean |
isDirect() |
long |
memoryAddress() |
ByteBuffer |
nioBuffer(int index,
int length) |
int |
nioBufferCount() |
ByteBuffer[] |
nioBuffers(int index,
int length) |
ByteOrder |
order() |
io.netty.buffer.ByteBuf |
resetReaderIndex() |
io.netty.buffer.ByteBuf |
resetWriterIndex() |
io.netty.buffer.ByteBuf |
setByte(int index,
int value) |
io.netty.buffer.ByteBuf |
setBytes(int index,
byte[] src,
int srcIndex,
int length) |
io.netty.buffer.ByteBuf |
setBytes(int index,
ByteBuffer src) |
io.netty.buffer.ByteBuf |
setBytes(int index,
io.netty.buffer.ByteBuf src,
int srcIndex,
int length) |
int |
setBytes(int index,
InputStream in,
int length) |
int |
setBytes(int index,
ScatteringByteChannel in,
int length) |
io.netty.buffer.ByteBuf |
setInt(int index,
int value) |
io.netty.buffer.ByteBuf |
setLong(int index,
long value) |
io.netty.buffer.ByteBuf |
setMedium(int index,
int value) |
io.netty.buffer.ByteBuf |
setShort(int index,
int value) |
io.netty.buffer.ByteBuf |
slice(int index,
int length) |
io.netty.buffer.ByteBuf |
unwrap() |
io.netty.buffer.ByteBuf |
writeByte(int value) |
io.netty.buffer.ByteBuf |
writeBytes(byte[] src,
int srcIndex,
int length) |
io.netty.buffer.ByteBuf |
writeBytes(ByteBuffer src) |
io.netty.buffer.ByteBuf |
writeBytes(io.netty.buffer.ByteBuf src,
int srcIndex,
int length) |
int |
writeBytes(InputStream in,
int length) |
int |
writeBytes(ScatteringByteChannel in,
int length) |
io.netty.buffer.ByteBuf |
writeInt(int value) |
io.netty.buffer.ByteBuf |
writeLong(long value) |
io.netty.buffer.ByteBuf |
writeMedium(int value) |
io.netty.buffer.ByteBuf |
writeShort(int value) |
io.netty.buffer.ByteBuf |
writeZero(int length) |
refCnt, release, release, retain, retain, setRefCntadjustMarkers, bytesBefore, bytesBefore, bytesBefore, checkDstIndex, checkIndex, checkIndex, checkReadableBytes, checkSrcIndex, clear, compareTo, copy, discardReadBytes, discardSomeReadBytes, ensureAccessible, ensureWritable, equals, forEachByte, forEachByte, forEachByteDesc, forEachByteDesc, getBoolean, getBytes, getBytes, getBytes, getChar, getDouble, getFloat, getMedium, getUnsignedByte, getUnsignedInt, getUnsignedShort, hashCode, indexOf, isReadable, isReadable, isWritable, isWritable, markReaderIndex, markWriterIndex, maxCapacity, maxCapacity, maxWritableBytes, newSwappedByteBuf, nioBuffer, nioBuffers, order, readableBytes, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readDouble, readerIndex, readerIndex, readFloat, readInt, readLong, readMedium, readShort, readSlice, readUnsignedByte, readUnsignedInt, readUnsignedMedium, readUnsignedShort, setBoolean, setBytes, setBytes, setBytes, setChar, setDouble, setFloat, setIndex, setZero, skipBytes, slice, toString, toString, toString, writableBytes, writeBoolean, writeBytes, writeBytes, writeBytes, writeChar, writeDouble, writeFloat, writerIndex, writerIndexpublic StreamingByteBuf(io.netty.channel.Channel streamChannel,
int estimatedLength)
public StreamingByteBuf(io.netty.channel.Channel streamChannel,
ByteOrder endianness,
int estimatedLength)
public StreamingByteBuf(io.netty.channel.Channel streamChannel,
ByteOrder endianness,
int estimatedLength,
io.netty.buffer.ByteBufAllocator allocator)
public void flush()
public io.netty.buffer.ByteBuf resetReaderIndex()
resetReaderIndex in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf resetWriterIndex()
resetWriterIndex in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf unwrap()
unwrap in class io.netty.buffer.ByteBufpublic int getTotalLength()
public io.netty.buffer.ByteBuf ensureWritable(int minWritableBytes)
ensureWritable in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBufAllocator alloc()
alloc in class io.netty.buffer.ByteBufpublic ByteOrder order()
order in class io.netty.buffer.ByteBufpublic boolean isDirect()
isDirect in class io.netty.buffer.ByteBufpublic int capacity()
capacity in class io.netty.buffer.ByteBufpublic boolean hasArray()
hasArray in class io.netty.buffer.ByteBufpublic byte[] array()
array in class io.netty.buffer.ByteBufpublic int arrayOffset()
arrayOffset in class io.netty.buffer.ByteBufpublic byte getByte(int index)
getByte in class io.netty.buffer.AbstractByteBufpublic short getShort(int index)
getShort in class io.netty.buffer.AbstractByteBufpublic int getUnsignedMedium(int index)
getUnsignedMedium in class io.netty.buffer.AbstractByteBufpublic int getInt(int index)
getInt in class io.netty.buffer.AbstractByteBufpublic long getLong(int index)
getLong in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf getBytes(int index,
byte[] dst,
int dstIndex,
int length)
getBytes in class io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf getBytes(int index,
io.netty.buffer.ByteBuf dst,
int dstIndex,
int length)
getBytes in class io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf getBytes(int index,
ByteBuffer dst)
getBytes in class io.netty.buffer.ByteBufpublic int getBytes(int index,
GatheringByteChannel out,
int length)
throws IOException
getBytes in class io.netty.buffer.ByteBufIOExceptionpublic io.netty.buffer.ByteBuf getBytes(int index,
OutputStream out,
int length)
throws IOException
getBytes in class io.netty.buffer.ByteBufIOExceptionpublic io.netty.buffer.ByteBuf setByte(int index,
int value)
setByte in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf setShort(int index,
int value)
setShort in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf setMedium(int index,
int value)
setMedium in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf setInt(int index,
int value)
setInt in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf setLong(int index,
long value)
setLong in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf setBytes(int index,
byte[] src,
int srcIndex,
int length)
setBytes in class io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf setBytes(int index,
io.netty.buffer.ByteBuf src,
int srcIndex,
int length)
setBytes in class io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf setBytes(int index,
ByteBuffer src)
setBytes in class io.netty.buffer.ByteBufpublic int setBytes(int index,
InputStream in,
int length)
throws IOException
setBytes in class io.netty.buffer.ByteBufIOExceptionpublic int setBytes(int index,
ScatteringByteChannel in,
int length)
throws IOException
setBytes in class io.netty.buffer.ByteBufIOExceptionpublic io.netty.buffer.ByteBuf writeByte(int value)
writeByte in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf writeShort(int value)
writeShort in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf writeMedium(int value)
writeMedium in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf writeInt(int value)
writeInt in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf writeLong(long value)
writeLong in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf writeBytes(byte[] src,
int srcIndex,
int length)
writeBytes in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf writeBytes(io.netty.buffer.ByteBuf src,
int srcIndex,
int length)
writeBytes in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf writeBytes(ByteBuffer src)
writeBytes in class io.netty.buffer.AbstractByteBufpublic int writeBytes(InputStream in, int length) throws IOException
writeBytes in class io.netty.buffer.AbstractByteBufIOExceptionpublic int writeBytes(ScatteringByteChannel in, int length) throws IOException
writeBytes in class io.netty.buffer.AbstractByteBufIOExceptionpublic io.netty.buffer.ByteBuf writeZero(int length)
writeZero in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf duplicate()
duplicate in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf copy(int index,
int length)
copy in class io.netty.buffer.ByteBufpublic io.netty.buffer.ByteBuf slice(int index,
int length)
slice in class io.netty.buffer.AbstractByteBufpublic ByteBuffer nioBuffer(int index, int length)
nioBuffer in class io.netty.buffer.ByteBufprotected byte _getByte(int index)
_getByte in class io.netty.buffer.AbstractByteBufprotected short _getShort(int index)
_getShort in class io.netty.buffer.AbstractByteBufprotected int _getUnsignedMedium(int index)
_getUnsignedMedium in class io.netty.buffer.AbstractByteBufprotected int _getInt(int index)
_getInt in class io.netty.buffer.AbstractByteBufprotected long _getLong(int index)
_getLong in class io.netty.buffer.AbstractByteBufprotected void _setByte(int index,
int value)
_setByte in class io.netty.buffer.AbstractByteBufprotected void _setShort(int index,
int value)
_setShort in class io.netty.buffer.AbstractByteBufprotected void _setMedium(int index,
int value)
_setMedium in class io.netty.buffer.AbstractByteBufprotected void _setInt(int index,
int value)
_setInt in class io.netty.buffer.AbstractByteBufprotected void _setLong(int index,
long value)
_setLong in class io.netty.buffer.AbstractByteBufpublic io.netty.buffer.ByteBuf capacity(int newCapacity)
capacity in class io.netty.buffer.ByteBufpublic int nioBufferCount()
nioBufferCount in class io.netty.buffer.ByteBufpublic ByteBuffer internalNioBuffer(int index, int length)
internalNioBuffer in class io.netty.buffer.ByteBufpublic ByteBuffer[] nioBuffers(int index, int length)
nioBuffers in class io.netty.buffer.ByteBufpublic boolean hasMemoryAddress()
hasMemoryAddress in class io.netty.buffer.ByteBufpublic long memoryAddress()
memoryAddress in class io.netty.buffer.ByteBufprotected void deallocate()
deallocate in class io.netty.buffer.AbstractReferenceCountedByteBufCopyright © 2013-2015 impossibl.com. All Rights Reserved.