MCPcopy Create free account
hub / github.com/amqp-node/amqplib / decodeNestedTable

Function decodeNestedTable

lib/codec.js:442–448  ·  view source on GitHub ↗
(unfinishedContainers, parent, key)

Source from the content-addressed store, hash-verified

440}
441
442function decodeNestedTable(unfinishedContainers, parent, key) {
443 const reader = parent.reader;
444 const length = decodeLength(reader);
445 const slice = reader.slice.subarray(reader.offset, reader.offset + length);
446 reader.offset += length;
447 beginDecodingTable(unfinishedContainers, {}, slice, parent, key);
448}
449
450function decodeNestedArray(unfinishedContainers, parent, key) {
451 const length = decodeLength(parent.reader);

Callers 1

decodeValueFunction · 0.85

Calls 2

decodeLengthFunction · 0.85
beginDecodingTableFunction · 0.85

Tested by

no test coverage detected