operator [] method

int operator [](
  1. int index
)

The 32-bit or 64-bit integer at address + size * index.

Implementation

int operator [](int index) => is64Bit
    ? viewSingle(index).getUint64(0, Memory.endianess)
    : viewSingle(index).getUint32(0, Memory.endianess);