private ByteBuffer encode(CharBuffer chrbuf){
        return _charset.encode(chrbuf);
    }
Loads an FSA from a file input stream using the specified character encoding
fsa/src/main/java/com/yahoo/fsa/FSA.java