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

Method next

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

Source from the content-addressed store, hash-verified

75 this.#i += length;
76 }
77 next() {
78 const i = this.#i;
79 this.skip(1);
80 this.skip(this.getLength());
81 return this.#a.subarray(i, this.#i)
82 }
83 getInteger() {
84 if (this.getTag() !== 2)
85 throw new Error("BER: not an integer");

Callers 12

parseMethod · 0.95
decodeFunction · 0.95
decodeTBSFunction · 0.95
nextFunction · 0.45
getSPKFunction · 0.45
files.jsFile · 0.45
iterateZipDirectoryFunction · 0.45
main.jsFile · 0.45
main.jsFile · 0.45
#onWritableMethod · 0.45
#onWritableMethod · 0.45

Calls 2

skipMethod · 0.95
getLengthMethod · 0.95

Tested by

no test coverage detected