code: public static String string(ByteBuffer buffer, int position, int length) throws CharacterCodingException
      {
          return string(buffer, position, length, StandardCharsets.UTF_8);
      }
docs: Decode a String representation.
  This method assumes that the encoding charset is UTF_8.
  
  @param buffer a byte buffer holding the string representation
  @param position the starting position in {@code buffer} to start decoding from
  @param length the number of bytes from {@code buffer} to use
  @return the decoded string