Class SoFileLoaderImpl

java.lang.Object
com.facebook.soloader.SoFileLoaderImpl
All Implemented Interfaces:
SoFileLoader

public class SoFileLoaderImpl extends Object implements SoFileLoader
  • Constructor Details

    • SoFileLoaderImpl

      public SoFileLoaderImpl()
  • Method Details

    • loadBytes

      public void loadBytes(String pathName, ElfByteChannel bytes, int loadFlags)
      Description copied from interface: SoFileLoader
      Load the so from memory.
      Specified by:
      loadBytes in interface SoFileLoader
      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

      public void load(String pathToSoFile, int loadFlags)
      Description copied from interface: SoFileLoader
      Load the so file from given path.
      Specified by:
      load in interface SoFileLoader
      Parameters:
      pathToSoFile - so file path
      loadFlags - loadFlags