1
0
Fork 0
js-utils/docs/api/js-utils.encode.md

26 lines
581 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [encode](./js-utils.encode.md)
## encode() function
Concatenate then encode a list of buffers.
<b>Signature:</b>
```typescript
export declare function encode(chunks: Array<Buffer>, encoding: string): string;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| chunks | <code>Array&lt;Buffer&gt;</code> | |
| encoding | <code>string</code> | |
<b>Returns:</b>
`string`