How to use the @ethersproject/strings._toEscapedUtf8String function in @ethersproject/strings

To help you get started, we’ve selected a few @ethersproject/strings examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ethers-io / ethers.js / packages / ethers / utils.js View on Github external
exports.deepCopy = properties_1.deepCopy;
exports.defineReadOnly = properties_1.defineReadOnly;
exports.getStatic = properties_1.getStatic;
exports.resolveProperties = properties_1.resolveProperties;
exports.shallowCopy = properties_1.shallowCopy;
var RLP = __importStar(require("@ethersproject/rlp"));
exports.RLP = RLP;
var signing_key_1 = require("@ethersproject/signing-key");
exports.computePublicKey = signing_key_1.computePublicKey;
exports.recoverPublicKey = signing_key_1.recoverPublicKey;
exports.SigningKey = signing_key_1.SigningKey;
var strings_1 = require("@ethersproject/strings");
exports.formatBytes32String = strings_1.formatBytes32String;
exports.nameprep = strings_1.nameprep;
exports.parseBytes32String = strings_1.parseBytes32String;
exports._toEscapedUtf8String = strings_1._toEscapedUtf8String;
exports.toUtf8Bytes = strings_1.toUtf8Bytes;
exports.toUtf8CodePoints = strings_1.toUtf8CodePoints;
exports.toUtf8String = strings_1.toUtf8String;
var transactions_1 = require("@ethersproject/transactions");
exports.computeAddress = transactions_1.computeAddress;
exports.parseTransaction = transactions_1.parse;
exports.recoverAddress = transactions_1.recoverAddress;
exports.serializeTransaction = transactions_1.serialize;
var units_1 = require("@ethersproject/units");
exports.commify = units_1.commify;
exports.formatEther = units_1.formatEther;
exports.parseEther = units_1.parseEther;
exports.formatUnits = units_1.formatUnits;
exports.parseUnits = units_1.parseUnits;
var wallet_1 = require("@ethersproject/wallet");
exports.verifyMessage = wallet_1.verifyMessage;