Пример #1
0
 public int Deserialize(Stream input)
 {
     _opFlags = input.ReadValueU16();
     _opTarget = input.ReadValueU16();
     OpFuncId = input.ReadValueEncodedS32();
     if (OpFuncId == -1)
     {
         OpOperator = (OperatorCode) input.ReadValueEncodedS32();
     }
     return 8;
 }
Пример #2
0
 public int Deserialize(Stream input)
 {
     _opFlags = input.ReadValueU16();
     _opTargetNum = input.ReadValueU16();
     _opFuncName = input.ReadValueEncodedS32();
     return 8;
 }
Пример #3
0
 public int Deserialize(Stream input)
 {
     _op0 = input.ReadValueEncodedS32();
     return 16;
 }
Пример #4
0
 public int Deserialize(Stream input)
 {
     _typeId = input.ReadValueEncodedS32();
     return 4;
 }
Пример #5
0
 public int Deserialize(Stream input)
 {
     int index = input.ReadValueEncodedS32();
     Value = _strings[index].Value;
     return 4;
 }
Пример #6
0
 public int Deserialize(Stream input)
 {
     OpArgCount = input.ReadValueU8();
     _opTypeId = input.ReadValueEncodedS32();
     return 5;
 }