583 B
583 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