예제 #1
0
 internal void AppendData(object data)
 {
     byte[] b = DataPacker.PackData(data);
     this.AppendVarBytes(b);
 }
예제 #2
0
 internal object ReadData()
 {
     byte[] b = this.ReadVarBytes();
     return(DataPacker.UnpackData(b));
 }
예제 #3
0
 internal void set(int index, object val)
 {
     DataPacker.ValidateDataType(val);
     this.list[index] = val;
 }
예제 #4
0
 internal void put(string key, object val)
 {
     DataPacker.ValidateDataType(val);
     this.dict[key] = val;
 }
예제 #5
0
 internal void append(object val)
 {
     DataPacker.ValidateDataType(val);
     this.list.Add(val);
 }