W3cubDocs

/Dart 2

materialize method

ByteBuffer materialize ()

Creates a new ByteBuffer containing the bytes stored in this TransferableTypedData.

The TransferableTypedData is a cross-isolate single-use resource. This method must not be called more than once on the same underlying transferable bytes, even if the calls occur in different isolates.

Implementation

ByteBuffer materialize();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-isolate/TransferableTypedData/materialize.html