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