mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-05-04 23:12:20 +00:00
8 lines
221 B
JavaScript
8 lines
221 B
JavaScript
|
"use strict"
|
||
|
|
||
|
exports.TextEncoder =
|
||
|
typeof TextEncoder !== "undefined" ? TextEncoder : require("util").TextEncoder
|
||
|
|
||
|
exports.TextDecoder =
|
||
|
typeof TextDecoder !== "undefined" ? TextDecoder : require("util").TextDecoder
|