code: public void setValue(CharBuffer buffer) {
  		checkNotNull(buffer);
  		final int len = buffer.length();
  		ensureSize(len);
  		buffer.get(this.value, 0, len);
  		this.len = len;
  		this.hashCode = 0;
  	}
docs: Sets the contents of this string to the contents of the given <tt>CharBuffer</tt>.
  The characters between the buffer's current position (inclusive) and the buffer's
  limit (exclusive) will be stored in this string.
  
  @param buffer The character buffer to read the characters from.