public class ByteBuf extends Object
限定符和类型 | 方法和说明 |
---|---|
byte[] |
asBytes() |
ByteBuf |
put(byte[] v) |
ByteBuf |
put(int v) |
ByteBuf |
put(long v) |
ByteBuf |
put(short v) |
ByteBuf |
put(String v) |
ByteBuf |
put(TreeMap<Short,String> extra) |
ByteBuf |
putIntMap(TreeMap<Short,Integer> extra) |
byte[] |
readBytes() |
int |
readInt() |
TreeMap<Short,Integer> |
readIntMap() |
TreeMap<Short,String> |
readMap() |
short |
readShort() |
String |
readString() |
public byte[] asBytes()
public ByteBuf put(short v)
public ByteBuf put(byte[] v)
public ByteBuf put(int v)
public ByteBuf put(long v)
public short readShort()
public int readInt()
public byte[] readBytes()
public String readString()
Copyright © 2024. All rights reserved.