예제 #1
0
    public static Octets string2Octets(string str)
    {
        OctetsStream os = new OctetsStream();

        byte[] bytes = string2Bytes(str);
        return(os.insert(0, bytes));
    }
예제 #2
0
 public void update(byte[] data, int off, int len)
 {
     os.insert(os.size(), data, off, len);
     dispatch(t.state.decode(os, t));
 }