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

26 lines
553 B
Markdown
Raw Normal View History

2020-03-29 13:43:52 +00:00
<!-- 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.
2020-03-29 13:43:52 +00:00
<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 | |
2020-03-29 13:43:52 +00:00
<b>Returns:</b>
string
2020-03-29 13:43:52 +00:00