![]()  | 
  
    libgpac
    
   Documentation of the core library of GPAC 
   | 
  
import <nodejs.idl;
Public Member Functions | |
| FileIO (DOMString url, _FileIOFactory factory, boolean direct_mem=true) | |
Data Fields | |
| attribute readonly DOMString | url | 
interface for customFileIO object
| _FileIO::FileIO | ( | DOMString | url, | 
| _FileIOFactory | factory, | ||
| boolean | direct_mem = true  | 
        ||
| ) | 
constructor for FileIO object - see gf_fileio_new
| url | URL to wrap, either source or destination | 
| factory | factory for object creation | 
| direct_mem | if true, the buffer passed to read and write callbacks is only a wrapper around GPAC internal mem and is no longer valid at the end of the call (detached). If false, the buffer passed is a copy (slower). | 
| attribute readonly DOMString _FileIO::url | 
gfio:// url corresponding to the fileIO object. This is the URL that must be passed to filter arguments