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

Function encodeExplicitTable

lib/codec.js:162–165  ·  view source on GitHub ↗
(unfinishedContainers, buffer, table, offset)

Source from the content-addressed store, hash-verified

160}
161
162function encodeExplicitTable(unfinishedContainers, buffer, table, offset) {
163 if (!isTable(table)) throw new TypeError('The value of an explicit table must be a table');
164 return encodeContainer(unfinishedContainers, buffer, table, offset);
165}
166
167function encodeContainer(unfinishedContainers, buffer, values, offset) {
168 offset += encodeContainerTag(buffer, values, offset);

Callers 1

encodeValueFunction · 0.85

Calls 2

isTableFunction · 0.85
encodeContainerFunction · 0.85

Tested by

no test coverage detected