Calculate the amount of native memory required for this structure. May return #CALCULATE_SIZE if the size can not yet be determined (usually due to fields in the derived class not yet being initialized). If the force parameter is true will throw an {@link IllegalSta
(boolean force)
| 1177 | * encountered |
| 1178 | */ |
| 1179 | protected int calculateSize(boolean force) { |
| 1180 | return calculateSize(force, false); |
| 1181 | } |
| 1182 | |
| 1183 | /** Efficiently calculate the size of the given Structure subclass. |
| 1184 | * @param type Structure subclass to check |
no test coverage detected