aureooms/js-codec-base64

View on GitHub
src/byte2tochar3.js

Summary

Maintainability
A
0 mins
Test Coverage
export default function* byte2tochar3(alphabet, a, b) {
    yield alphabet[a >> 2];
    yield alphabet[(63 & (a << 4)) | (b >> 4)];
    yield alphabet[63 & (b << 2)];
}