This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs-blog-newsletter/cronjob/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js

7 lines
165 B
JavaScript
Raw Permalink Normal View History

2024-05-26 22:54:55 +02:00
export function fromUtf8(input) {
return new TextEncoder().encode(input);
}
export function toUtf8(input) {
return new TextDecoder("utf-8").decode(input);
}