Class: FileAttachmentUtils

Core.Annotations. FileAttachmentUtils


new FileAttachmentUtils()

The namespace for utility functions for file attachment.

Methods


decompressWithFlateDecode(fileData [, mimeType])

Decompress the file data with FlateDecode.
Parameters:
Name Type Argument Description
fileData string The compressed file data as string.
mimeType string <optional>
The mime type of the file.
Returns:
Resolves with the decompressed file data as Blob.
Type
Promise.<Blob>