Метод | Описание | |
---|---|---|
export ( fileType type, object data ) : void |
Exports a file of a given type. Formats available to export will depend on the type of the data.
|
|
getExtension ( byte data, int startIndex ) : string | ||
import ( fileType type ) : object |
Imports a file of the given type. Returns data relative to the chosen type.
|
|
load ( Stream data ) : file | ||
load ( string fileName ) : file |
Метод | Описание | |
---|---|---|
getMagic ( |
||
getMagic ( byte data, int length, int startIndex ) : string |
public static export ( fileType type, object data ) : void | ||
type | fileType | Type of the data to be exported |
data | object | The data |
Результат | void |
public static getExtension ( byte data, int startIndex ) : string | ||
data | byte | |
startIndex | int | |
Результат | string |
public static import ( fileType type ) : object | ||
type | fileType | The type of the data |
Результат | object |
public static load ( Stream data ) : file | ||
data | Stream | |
Результат | file |
public static load ( string fileName ) : file | ||
fileName | string | |
Результат | file |