code: public static final String asString(WsByteBuffer buff) {
          byte[] data = asByteArray(buff);
          return (null != data) ? new String(data) : null;
      }
docs: Convert a buffer to a String.
  
  @param buff
  @return String