Uint32List.fromList constructor

Uint32List.fromList(
  1. List<int> elements
)

Creates a Uint32List with the same length as the elements list and copies over the elements.

Values are truncated to fit in the list when they are copied, the same way storing values truncates them.

The list is backed by a ByteBuffer containing precisely elements.length times 4 bytes.

Implementation

external factory Uint32List.fromList(List<int> elements);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-typed_data/Uint32List/Uint32List.fromList.html