UNPKG

@zxing/text-encoding

Version:

Polyfill for the Encoding Living Standard's API.

7 lines 280 B
import { TextDecoder } from "../common/TextDecoder"; import { TextEncoder } from "../common/TextEncoder"; if (!global['TextEncoder']) global['TextEncoder'] = TextEncoder; if (!global['TextDecoder']) global['TextDecoder'] = TextDecoder; //# sourceMappingURL=polyfill.js.map