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

26 lines
553 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 | Array&lt;Buffer&gt; | |
| encoding | string | |
<b>Returns:</b>
string