Skip to main content

Reference / Modules / client-node / NodeBufferFile

Class: NodeBufferFile

client-node.NodeBufferFile

Hierarchy​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new NodeBufferFile(content, name, mimeType): NodeBufferFile

Parameters​

NameType
contentBuffer
namestring
mimeTypeMimeType

Returns​

NodeBufferFile

Overrides​

NodeStreamFile.constructor

Defined in​

client-node/src/index.ts:63

Properties​

content​

• Private content: Buffer

Defined in​

client-node/src/index.ts:68


mimeType​

• Readonly mimeType: MimeType

Inherited from​

NodeStreamFile.mimeType

Defined in​

client/dist/ComponentFactory.d.ts:16


name​

• Readonly name: string

Inherited from​

NodeStreamFile.name

Defined in​

client/dist/ComponentFactory.d.ts:15

Methods​

getHashAndSize​

▸ getHashAndSize(): Promise<HashAndSize>

Returns​

Promise<HashAndSize>

Inherited from​

NodeStreamFile.getHashAndSize

Defined in​

client-node/src/index.ts:25


getStream​

▸ getStream(): ReadableStream

Returns​

ReadableStream

Overrides​

NodeStreamFile.getStream

Defined in​

client-node/src/index.ts:70