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

Method #decodeMapKey

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

Source from the content-addressed store, hash-verified

989 }
990
991 #decodeMapKey(typeMapping, chunk) {
992 const type = chunk[this.#cursor];
993 return ++this.#cursor === chunk.length ?
994 this.#decodeMapKeyValue.bind(this, type, typeMapping) :
995 this.#decodeMapKeyValue(type, typeMapping, chunk);
996 }
997
998 #decodeMapKeyValue(type, typeMapping, chunk) {
999 switch (type) {

Callers 2

#decodeMapAsMapMethod · 0.95
#decodeMapAsObjectMethod · 0.95

Calls 1

#decodeMapKeyValueMethod · 0.95

Tested by

no test coverage detected