Files
simplex-chat/packages/simplex-chat-nodejs/docs/core.Function.chatWriteFile.md
T

32 lines
513 B
Markdown

[**simplex-chat**](README.md)
***
[simplex-chat](README.md) / [core](Namespace.core.md) / chatWriteFile
# Function: chatWriteFile()
> **chatWriteFile**(`ctrl`, `path`, `buffer`): `Promise`\<[`CryptoArgs`](core.Interface.CryptoArgs.md)\>
Defined in: [src/core.ts:74](../src/core.ts#L74)
Write buffer to encrypted file
## Parameters
### ctrl
`bigint`
### path
`string`
### buffer
`ArrayBuffer` \| `Uint8Array`\<`ArrayBufferLike`\>
## Returns
`Promise`\<[`CryptoArgs`](core.Interface.CryptoArgs.md)\>