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

Function encodeContainerTag

lib/codec.js:184–188  ·  view source on GitHub ↗
(buffer, values, offset)

Source from the content-addressed store, hash-verified

182}
183
184function encodeContainerTag(buffer, values, offset) {
185 checkSpace(buffer, offset, 1);
186 buffer.write(Array.isArray(values) ? 'A' : 'F', offset);
187 return 1;
188}
189
190function encodeScalar(buffer, type, val, offset) {
191 const start = offset;

Callers 1

encodeContainerFunction · 0.85

Calls 1

checkSpaceFunction · 0.85

Tested by

no test coverage detected