MCPcopy Index your code
hub / github.com/redis/node-redis / #decodeArrayWithLength

Method #decodeArrayWithLength

packages/client/lib/RESP/decoder.ts:743–752  ·  view source on GitHub ↗
(length, typeMapping, chunk)

Source from the content-addressed store, hash-verified

741 }
742
743 #decodeArrayWithLength(length, typeMapping, chunk) {
744 return typeof length === 'function' ?
745 this.#continueDecodeArrayLength.bind(this, length, typeMapping) :
746 this.#decodeArrayItems(
747 new Array(length),
748 0,
749 typeMapping,
750 chunk
751 );
752 }
753
754 #continueDecodeArrayLength(lengthCb, typeMapping, chunk) {
755 return this.#decodeArrayWithLength(

Callers 2

#decodeArrayMethod · 0.95

Calls 1

#decodeArrayItemsMethod · 0.95

Tested by

no test coverage detected