Sha256: a63171ed7efc4bf570f07d06aab52ffcda1f0ee965a0bb0fca35e8be5ec3624d
Contents?: true
Size: 328 Bytes
Versions: 26
Compression:
Stored size: 328 Bytes
Contents
"use strict"; const utf8Encoder = new TextEncoder(); const utf8Decoder = new TextDecoder("utf-8", { ignoreBOM: true }); function utf8Encode(string) { return utf8Encoder.encode(string); } function utf8DecodeWithoutBOM(bytes) { return utf8Decoder.decode(bytes); } module.exports = { utf8Encode, utf8DecodeWithoutBOM };
Version data entries
26 entries across 26 versions & 1 rubygems