MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / getBuffer

Method getBuffer

modules/crypt/etc/ber.js:155–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 return result;
154 }
155 getBuffer() {
156 return this.#a.slice(0, this.#i).buffer;
157 }
158
159 morebuf(n) {
160 if (n < 128) n = 128;

Callers 1

encodeMethod · 0.95

Calls 1

sliceMethod · 0.65

Tested by

no test coverage detected