MCPcopy Create free account
hub / github.com/ccxt/ccxt / subReader

Method subReader

js/src/static_dependencies/ethers/coders/abstract-coder.js:383–387  ·  view source on GitHub ↗
(offset)

Source from the content-addressed store, hash-verified

381 }
382 // Create a sub-reader with the same underlying data, but offset
383 subReader(offset) {
384 const reader = new Reader(this.#data.slice(this.#offset + offset), this.allowLoose, this.#maxInflation);
385 reader.#parent = this;
386 return reader;
387 }
388 // Read bytes
389 readBytes(length, loose) {
390 let bytes = this.#peekBytes(0, length, !!loose);

Callers 1

unpackFunction · 0.45

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected