mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 15:48:54 +00:00
32 lines
513 B
Markdown
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)\>
|