Package org.lwjgl.util.opus
Class OPReadFunc
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.util.opus.OPReadFunc
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,OPReadFuncI
public abstract class OPReadFunc extends org.lwjgl.system.Callback implements OPReadFuncI
Instances of this class may be set toOpusFileCallbacks.Type
int (*OPReadFuncI.invoke(long, long, int)) ( void *_stream, unsigned char *_ptr, int _nbytes )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.util.opus.OPReadFuncI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OPReadFunccreate(long functionPointer)Creates aOPReadFuncinstance from the specified function pointer.static OPReadFunccreate(OPReadFuncI instance)Creates aOPReadFuncinstance that delegates to the specifiedOPReadFuncIinstance.static OPReadFunccreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.util.opus.OPReadFuncI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static OPReadFunc create(long functionPointer)
Creates aOPReadFuncinstance from the specified function pointer.- Returns:
- the new
OPReadFunc
-
createSafe
@Nullable public static OPReadFunc createSafe(long functionPointer)
-
create
public static OPReadFunc create(OPReadFuncI instance)
Creates aOPReadFuncinstance that delegates to the specifiedOPReadFuncIinstance.
-
-