load_4 static method

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

Implementation

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