description

# operator [] method

T operator [](

1. int index

)

Creates a reference to access the fields of this struct backed by native memory at `address + sizeOf<T>() * index`.

The address must be aligned according to the struct alignment rules of the platform.

This extension method must be invoked on a receiver of type `Pointer<T>` where `T` is a compile-time constant type.

## Implementation

    external T operator [](int index);