mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-31 18:02:41 +00:00
* nodejs: add tests to library * new tests * remove message splitting * fix race * docs * replace extract-zip with yauzl that it wraps (high severity issue) * fix ci tests * skip server tests on macos and win unless SMP_SERVER is set * fix win test * fix win test --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
28 lines
467 B
Markdown
28 lines
467 B
Markdown
[**simplex-chat**](README.md)
|
|
|
|
***
|
|
|
|
[simplex-chat](README.md) / [core](Namespace.core.md) / chatReadFile
|
|
|
|
# Function: chatReadFile()
|
|
|
|
> **chatReadFile**(`path`, `__namedParameters`): `Promise`\<`Buffer`\<`ArrayBufferLike`\>\>
|
|
|
|
Defined in: [src/core.ts:83](../core.ts#L83)
|
|
|
|
Read buffer from encrypted file
|
|
|
|
## Parameters
|
|
|
|
### path
|
|
|
|
`string`
|
|
|
|
### \_\_namedParameters
|
|
|
|
[`CryptoArgs`](core.Interface.CryptoArgs.md)
|
|
|
|
## Returns
|
|
|
|
`Promise`\<`Buffer`\<`ArrayBufferLike`\>\>
|