MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/functions-framework-nodejs / utf8ToHex

Function utf8ToHex

test/logger.ts:65–67  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

63 '\n';
64
65 function utf8ToHex(data: string) {
66 return Buffer.from(data, 'utf-8').toString('hex');
67 }
68
69 let getCurrentContextStub: sinon.SinonStub;
70 beforeEach(() => {

Callers 1

logger.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected