【发布时间】:2017-03-10 09:49:08
【问题描述】:
有没有办法将 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 netty decoding