UNPKG

@ledgerhq/coin-multiversx

Version:
16 lines 465 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BinaryUtils = void 0; function base64DecodeBinary(str) { return Buffer.from(str, "base64"); } class BinaryUtils { static base64Encode(str) { return Buffer.from(str).toString("base64"); } static base64Decode(str) { return base64DecodeBinary(str).toString("binary"); } } exports.BinaryUtils = BinaryUtils; //# sourceMappingURL=binary.utils.js.map