Top Fields Constructors Methods
jnr.ffi.provider

public final Class NullMemoryIO

extends InAccessibleMemoryIO
Class Inheritance
Imports
jnr.ffi.Runtime

Field Summary

Modifier and TypeField and Description
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected final NullPointerException
public long
size()

Implements abstract jnr.ffi.Pointer.size.

Gets the size of this memory object in bytes (optional operation).
Inherited from jnr.ffi.provider.InAccessibleMemoryIO:
arrayarrayLengtharrayOffsetgetgetgetgetgetgetgetBytegetDoublegetFloatgetIntgetLonggetLongLonggetPointergetPointergetShortgetStringgetStringhasArrayindexOfputputputputputputputByteputDoubleputFloatputIntputLongputLongLongputPointerputShortputStringsetMemory

Field Detail

msgback to summary
private static final String msg

Hides jnr.ffi.provider.InAccessibleMemoryIO.msg.

Constructor Detail

NullMemoryIOback to summary
public NullMemoryIO(Runtime runtime)

Method Detail

errorback to summary
protected final NullPointerException error()

Overrides jnr.ffi.provider.InAccessibleMemoryIO.error.

sizeback to summary
public long size()

Implements abstract jnr.ffi.Pointer.size.

Doc from jnr.ffi.Pointer.size.

Gets the size of this memory object in bytes (optional operation).

Returns:long

the size of the memory area this Pointer points to. If the size is unknown, java.lang.Long#MAX_VALUE is returned}.