Writes all fields directly into the native struct reference p. For nested structs, use writeInto as well.
p
writeInto
@override void writeInto(BoneInfoC p) { p.name.setDartString(name, nameLength); p.parent = parent; }