Reference / Modules / client-node / NodeBufferFile
Class: NodeBufferFile
client-node.NodeBufferFile
Hierarchy
-
↳
NodeBufferFile
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new NodeBufferFile(content, name, mimeType): NodeBufferFile
Parameters
| Name | Type |
|---|---|
content | Buffer |
name | string |
mimeType | MimeType |
Returns
Overrides
Defined in
Properties
content
• Private content: Buffer
Defined in
mimeType
• Readonly mimeType: MimeType
Inherited from
Defined in
client/dist/ComponentFactory.d.ts:16
name
• Readonly name: string
Inherited from
Defined in
client/dist/ComponentFactory.d.ts:15
Methods
getHashAndSize
▸ getHashAndSize(): Promise<HashAndSize>
Returns
Promise<HashAndSize>
Inherited from
Defined in
getStream
▸ getStream(): ReadableStream
Returns
ReadableStream