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

622 B

Home > @apextoaster/js-utils > encode

encode() function

Concatenate then encode a list of buffers.

Signature:

export declare function encode(chunks: Array<Buffer>, encoding: AllowedBufferEncoding): string;

Parameters

Parameter Type Description
chunks Array<Buffer>
encoding AllowedBufferEncoding

Returns:

string