Exemple #1
0
 static IEnumerable <byte> LOGIC_CALL_FN_LONG(StartPosOpcodes opcode, int param1, int param2, int param3)
 {
     return
         (new[] { (byte)StartPosOpcodes.opcCallFnLong, (byte)((int)opcode & 0xFF) }
          .Concat(Encode32(param1))
          .Concat(Encode32(param2))
          .Concat(Encode32(param3)));
 }
Exemple #2
0
 static IEnumerable<byte> LOGIC_CALL_FN_LONG(StartPosOpcodes opcode, int param1, int param2, int param3)
 {
     return
         new[] { (byte)StartPosOpcodes.opcCallFnLong, (byte)((int)opcode & 0xFF) }
             .Concat(Encode32(param1))
             .Concat(Encode32(param2))
             .Concat(Encode32(param3));
 }
Exemple #3
0
 static IEnumerable<byte> LOGIC_CALL_FN(StartPosOpcodes opcode, byte param)
 {
     return new[] { (byte)StartPosOpcodes.opcCallFn, (byte)((int)opcode & 0xFF), param };
 }
Exemple #4
0
 static IEnumerable <byte> LOGIC_CALL_FN(StartPosOpcodes opcode, byte param)
 {
     return(new[] { (byte)StartPosOpcodes.opcCallFn, (byte)((int)opcode & 0xFF), param });
 }