sizeOf<T extends NativeType> function Null safety

int sizeOf<T extends NativeType>()

Number of bytes used by native type T.

Includes padding and alignment of structs.

This function must be invoked with a compile-time constant T.

Implementation

external int sizeOf<T extends NativeType>();