private Hashtable RebuildDict(IAWObject sfsObj) { Hashtable hashtable = new Hashtable(); string[] keys = sfsObj.GetKeys(); for (int i = 0; i < keys.Length; i++) { string key = keys[i]; hashtable[key] = this.UnwrapField(sfsObj.GetData(key)); } return(hashtable); }
private ByteArray Obj2bin(IAWObject obj, ByteArray buffer) { string[] keys = obj.GetKeys(); string[] array = keys; for (int i = 0; i < array.Length; i++) { string text = array[i]; AWDataWrapper data = obj.GetData(text); buffer = this.EncodeSFSObjectKey(buffer, text); buffer = this.EncodeObject(buffer, data.Type, data.Data); } return(buffer); }