public BytesRef(CharSequence text){
  this(new byte[UnicodeUtil.MAX_UTF8_BYTES_PER_CHAR * text.length()]);
  length=UnicodeUtil.UTF16toUTF8(text,0,text.length(),bytes);
}

public BytesRef ( CharSequence text ) { this ( new byte [ UnicodeUtil . MAX_UTF8_BYTES_PER_CHAR * text . length ( ) ] ) ; length = UnicodeUtil . UTF16toUTF8 ( text , 0 , text . length ( ) , bytes ) ; }
initialize the byte [ ] from the utf8 bytes for the provided string .
