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))); }
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)); }
static IEnumerable<byte> LOGIC_CALL_FN(StartPosOpcodes opcode, byte param) { return new[] { (byte)StartPosOpcodes.opcCallFn, (byte)((int)opcode & 0xFF), param }; }
static IEnumerable <byte> LOGIC_CALL_FN(StartPosOpcodes opcode, byte param) { return(new[] { (byte)StartPosOpcodes.opcCallFn, (byte)((int)opcode & 0xFF), param }); }