| import { TextDecoder } from './common/TextDecoder'; | |
| import { TextEncoder } from './common/TextEncoder'; | |
| // Polyfills browser | |
| if (typeof window !== 'undefined') { | |
| const checkUndefined = key => !(key in window) | |
| || typeof window[key] === 'undefined' | |
| || window[key] === null; | |
| if (checkUndefined('TextDecoder')) | |
| window['TextDecoder'] = TextDecoder; | |
| if (checkUndefined('TextEncoder')) | |
| window['TextEncoder'] = TextEncoder; | |
| } | |
| export { TextDecoder, TextEncoder }; | |
| //# sourceMappingURL=encoding.js.map |
Xet Storage Details
- Size:
- 535 Bytes
- Xet hash:
- d576ee9202582fdac98d7a0b7e97ae085f3c3ea4ad4d236a46837d96e450823f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.