aureooms/js-codec-base64

View on GitHub
src/char3tobyte2.js

Summary

Maintainability
A
0 mins
Test Coverage
export default function* char3tobyte2(index, a, b, c) {
    yield (index[a] << 2) | (index[b] >> 4);
    yield (0xff & (index[b] << 4)) | (index[c] >> 2);
}