UNPKG

twing

Version:

First-class Twig engine for Node.js

11 lines (10 loc) 406 B
/** * 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;