![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets.corals.io/wp-content/metras.v32.1/node_modules/base64-js/test/ |
var test = require('tape') var b64 = require('../') test('padding bytes found inside base64 string', function (t) { // See https://github.com/beatgammit/base64-js/issues/42 var str = 'SQ==QU0=' t.deepEqual(b64.toByteArray(str), new Uint8Array([73])) t.equal(b64.byteLength(str), 1) t.end() })