createVarOperandByte static method

int? createVarOperandByte(
  1. List<int> types
)

Used primarily for unit testing

Implementation

static int? createVarOperandByte(List<int> types){
  if (types.length != 4) return null;

  return (types[0] << 6) | (types[1] << 4) | (types[2] << 2) | types[3];
}