public CharTrie deserialize(byte[] bytes) {
    CharTrie trie = new CharTrie();
    BitInputStream in = new BitInputStream(new ByteArrayInputStream(bytes));
    int level = 0;
    while (deserialize(trie.root(), in, level++) > 0) {
    }
    trie.recomputeCursorDetails();
    return trie;
  }
public CharTrie deserialize ( byte [ ] bytes ) { CharTrie trie = new CharTrie ( ) ; BitInputStream in = new BitInputStream ( new ByteArrayInputStream ( bytes ) ) ; int level = 0 ; while ( deserialize ( trie . root ( ) , in , level ++ ) > 0 ) { } trie . recomputeCursorDetails ( ) ; return trie ; }
Deserialize char trie.

@param bytes the bytes
@return the char trie