|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelBuffer
ChannelBuffer.
Method Summary | |
---|---|
Object |
getUnderlyingChannelBuffer()
|
byte |
readByte()
|
void |
readBytes(byte[] dst)
|
void |
readBytes(byte[] dst,
int dstIndex,
int length)
|
ChannelBuffer |
readBytes(int length)
|
int |
readerIndex()
|
byte[] |
readRangedBytes()
|
String |
readString()
Reads length of String and then returns an UTF-8 formatted String of such length. |
short |
readUnsignedByte()
|
int |
readUnsignedInt()
|
long |
readUnsignedLong()
|
void |
writeByte(byte value)
|
void |
writeBytes(byte[] src)
|
void |
writeRangedBytes(byte[] src)
Writes the length of the byte array and transfers the specified source array's data to this buffer |
int |
writerIndex()
|
void |
writeString(String msg)
Writes the length of the String followed by the String itself. |
void |
writeUnsignedInt(int i)
|
void |
writeUnsignedLong(long l)
|
Method Detail |
---|
byte readByte()
void readBytes(byte[] dst, int dstIndex, int length)
short readUnsignedByte()
int readUnsignedInt()
long readUnsignedLong()
ChannelBuffer readBytes(int length)
int readerIndex()
void readBytes(byte[] dst)
byte[] readRangedBytes()
String readString()
void writeByte(byte value)
void writeBytes(byte[] src)
void writeRangedBytes(byte[] src)
void writeUnsignedInt(int i)
void writeUnsignedLong(long l)
int writerIndex()
void writeString(String msg)
Object getUnderlyingChannelBuffer()
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |