MCPcopy Create free account
hub / github.com/Silentely/eSIM-Tools / arrayBuffer

Method arrayBuffer

tests/security/bff-proxy.test.js:51–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 }
50
51 async arrayBuffer() {
52 const text = typeof this.body === 'string' ? this.body : JSON.stringify(this.body || '');
53 return new TextEncoder().encode(text).buffer;
54 }
55
56 async json() {
57 const text = typeof this.body === 'string' ? this.body : JSON.stringify(this.body || '');

Callers 1

bff-proxy.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected