Write the given field to native memory. The current value in the Java field will be translated into native memory. @param name which field to synch @throws IllegalArgumentException if no field exists with the given name
(String name)
| 819 | * @throws IllegalArgumentException if no field exists with the given name |
| 820 | */ |
| 821 | public void writeField(String name) { |
| 822 | ensureAllocated(); |
| 823 | StructField f = fields().get(name); |
| 824 | if (f == null) |
| 825 | throw new IllegalArgumentException("No such field: " + name); |
| 826 | writeField(f); |
| 827 | } |
| 828 | |
| 829 | /** Write the given field value to the field and native memory. The |
| 830 | * given value will be written both to the Java field and the |
no test coverage detected