operator []= method - UnionPointer extension - dart:ffi library (original) (raw)

description

void operator []=(

  1. int index,
  2. T value )

Copies the value union into native memory, starting ataddress * sizeOf<T>() * index.

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

Implementation

external void operator []=(int index, T value);