dart:ffi hide or restrict Pointer.address and fromAddress #35844
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-ffi
type-design
Especially if the
dart:ffi
library calculates sizes and field offsets itself, wrapper writers probably often do not want to expose the integer addresses to the users.How can we enable wrapper writers to disallow wrapper users to use
fromAddress
and.address
?Related to: #35841
The text was updated successfully, but these errors were encountered: