@override void write(MemoryPointer p, E value) { _check(p, 'write struct'); pointer(p).ref = value; }