Package com.facebook.soloader
Class SoFileLoaderImpl
java.lang.Object
com.facebook.soloader.SoFileLoaderImpl
- All Implemented Interfaces:
SoFileLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidLoad the so file from given path.voidloadBytes(String pathName, ElfByteChannel bytes, int loadFlags) Load the so from memory.
-
Constructor Details
-
SoFileLoaderImpl
public SoFileLoaderImpl()
-
-
Method Details
-
loadBytes
Description copied from interface:SoFileLoaderLoad the so from memory.- Specified by:
loadBytesin interfaceSoFileLoader- Parameters:
pathName- Name of the so file used to distinguish it from other loaded shared objects. If the file is compressed in a file, the compressed file can be used as a name.bytes- An elf byte channel containing the bytes representing the shared object to be loaded.loadFlags- SoLoader flags
-
load
Description copied from interface:SoFileLoaderLoad the so file from given path.- Specified by:
loadin interfaceSoFileLoader- Parameters:
pathToSoFile- so file pathloadFlags- loadFlags
-