asTypedList method

Uint8List asTypedList (
  1. int length
)

Creates a typed list view backed by memory in the address space.

The returned view will allow access to the memory range from address to address + length.

The user has to ensure the memory range is accessible while using the returned list.

Implementation

external Uint8List asTypedList(int length);

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