UNPKG

jtc-utils

Version:
16 lines 494 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StandardDecoder = void 0; class StandardDecoder { constructor(encoding, options) { this.decoder = new TextDecoder(encoding, { fatal: options?.fatal ?? true, ignoreBOM: options?.ignoreBOM, }); } decode(input, options) { return this.decoder.decode(input, options); } } exports.StandardDecoder = StandardDecoder; //# sourceMappingURL=charset.js.map