writeSafe method
Like write, but does nothing if the pointer stored in the slot at
p is null.
Implementation
void writeSafe(MemoryPointer p, E value) {
final ref = deref(p);
if (ref.isNull) return;
inner.write(ref, value);
}
Like write, but does nothing if the pointer stored in the slot at
p is null.
void writeSafe(MemoryPointer p, E value) {
final ref = deref(p);
if (ref.isNull) return;
inner.write(ref, value);
}