Skip to main content
Read attachment content as Buffer Useful for processing file contents without saving to disk

Parameters

required
Attachment object

Returns

Promise<Buffer> File content as Buffer