MCPcopy Create free account
hub / github.com/java-native-access/jna / getNativeSize

Method getNativeSize

src/com/sun/jna/Structure.java:2382–2384  ·  view source on GitHub ↗

Return the native size of the given Java type, from the perspective of this Structure. @param nativeType field type to examine @return native size (in bytes) of the requested field type

(Class<?> nativeType)

Source from the content-addressed store, hash-verified

2380 * @return native size (in bytes) of the requested field type
2381 */
2382 protected int getNativeSize(Class<?> nativeType) {
2383 return getNativeSize(nativeType, null);
2384 }
2385
2386 /** Return the native size of the given Java type, from the perspective of
2387 * this Structure.

Callers 2

validateFieldMethod · 0.95
deriveLayoutMethod · 0.95

Calls 1

getNativeSizeMethod · 0.95

Tested by

no test coverage detected