How to use the atob function from bytebuffer

Find comprehensive JavaScript bytebuffer.atob code examples handpicked from public code repositorys.

1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
}
var newMetaData = "";
if (payload.Certificate) {
    var certificate = payload.Certificate;
    try {
        var certStr = ByteBuffer.atob(certificate.replace("BEGIN CERTIFICATE--- ", "").replace(" ---END CERTIFICATE", ""));
        newMetaData = certStr;
    } catch (err) {
        console.log(err);
        console.log({ details: "InsertData atob certificate exception", error: err });
fork icon2
star icon2
watch icon0