public static final String asString ( WsByteBuffer buff , int position , int limit ) { byte [ ] data = asByteArray ( buff , position , limit ) ; return ( null != data ) ? new String ( data ) : null ; }
Convert a buffer to a string using the input starting position and ending limit .