mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-23 02:38:00 +00:00
11 lines
289 B
JavaScript
11 lines
289 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.base64Pad = base64Pad;
|
|
/**
|
|
* @name base64Pad
|
|
* @description Adds padding characters for correct length
|
|
*/
|
|
function base64Pad(value) {
|
|
return value.padEnd(value.length + (value.length % 4), '=');
|
|
}
|