twing
Version:
First-class Twig engine for the JavaScript ecosystem
11 lines (10 loc) • 406 B
TypeScript
/**
* Internationalization conversion: convert buffer to requested character encoding
*
* @param {string} inCharset The input charset.
* @param {string} outCharset The output charset.
* @param {Buffer} buffer The buffer to be converted.
*
* @returns {Buffer} the converted buffer or false on failure.
*/
export declare function iconv(inCharset: string, outCharset: string, buffer: Buffer): Buffer;