fromBuffer property

L Function(ByteBuffer buffer, int offsetInBytes, int length) get fromBuffer
inherited

Wraps a region of buffer as a Dart L list without copying.

Acts as the inverse of asView: where asView views native memory as a Dart typed list, fromBuffer views an existing Dart ByteBuffer as an L, allowing FromTypedData to bulk-copy foreign typed data into a slot without going through raw bytes.

offsetInBytes and length are forwarded directly to the underlying buffer.asXxxList() call, so the usual alignment and bounds rules apply.

Implementation

L Function(ByteBuffer buffer, int offsetInBytes, int length) get fromBuffer;