writeSafe method

void writeSafe(
  1. MemoryPointer<RType> p,
  2. E value
)

Writes value through this field's pointer within the struct at p.

Does nothing if the field's pointer is null.

Implementation

void writeSafe(MemoryPointer p, E value)
  => codec.writeSafe(p.offsetBy(offset), value);