Constructors
constructor
- new IFileSpec(file: string, doc: IBase, embed?: undefined | true | false): IFileSpec
-
Parameters
-
file: string
-
-
Optional embed: undefined | true | false
Methods
getContents
- getContents(): Buffer | undefined
-
Returns Buffer
|
undefined
Can only get the file if it has been embedded into the document.