MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / utf8Binary

Function utf8Binary

test/unit/modules/pgpModel.test.js:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55import {parseMessage} from '../../../src/modules/mime';
56
57const utf8Binary = str => Uint8Array2str(new TextEncoder().encode(str));
58
59function makeFakeKeyring({decryptImpl, verifyImpl}) {
60 return {

Callers 1

pgpModel.test.jsFile · 0.70

Calls 2

Uint8Array2strFunction · 0.90
encodeMethod · 0.80

Tested by

no test coverage detected