[vm/ffi] Array.fromTypedData
constructors
#54525
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
library-ffi
P3
A lower priority bug or feature request
triaged
Issue has been triaged by sub team
type-enhancement
A request for a change that isn't a bug
In [vm/ffi]
TypedData
constructors forStruct
andUnion
addressing #53418, structs and unions can be instantiated with an existing typed data.We should consider doing the same for
Array
.Related:
Workaround for compile-time length arrays
After https://dart-review.googlesource.com/c/sdk/+/342763 lands.
Define a wrapper struct, create the wrapper struct with that typed data, and read the array out:
The text was updated successfully, but these errors were encountered: