load_3 static method

int load_3(
  1. List<int> input,
  2. int offset
)

Implementation

static int load_3(List<int> input, int offset) {
  int result = input[offset] & 0xff;
  result |= (input[offset + 1] & 0xff) << 8;
  result |= (input[offset + 2] & 0xff) << 16;
  return result;
}