有没有办法将netty ByteBuf转换为String,反之亦然?
public String toString(ByteBuf b){ //return b enconded to a String } public Bytebuf ToByteBuff(String s){ //return s decoded to Bytebuf }
java encoding decoding netty
decoding ×1
encoding ×1
java ×1
netty ×1