src/main/java/com/antbrains/wordseg/luceneanalyzer/BytesRef.java
public String utf8ToString() {
    final CharsRef ref = new CharsRef(length);
    UnicodeUtil.UTF8toUTF16(bytes, offset, length, ref);
    return ref.toString();
  }
/**
   * Interprets stored bytes as UTF8 bytes, returning the resulting string
   */
Interprets stored bytes as UTF8 bytes, returning the resulting string
Interprets stored bytes as UTF8 bytes returning the resulting string
public String utf8ToString() {
    final CharsRef ref = new CharsRef(length);
    UnicodeUtil.UTF8toUTF16(bytes, offset, length, ref);
    return ref.toString();
  }
public String utf8ToString ( ) { final CharsRef ref = new CharsRef ( length ) ; UnicodeUtil . UTF8toUTF16 ( bytes , offset , length , ref ) ; return ref . toString ( ) ; }
Interprets stored bytes as UTF8 bytes, returning the resulting string
Interprets stored bytes as UTF8 bytes returning the resulting string