public String readStringEOF ( ) { byte [ ] result = new byte [ byteBuf . readableBytes ( ) ] ; byteBuf . readBytes ( result ) ; return new String ( result ) ; }
Read rest of packet string from byte buffers .