MCPcopy Index your code
hub / github.com/molnarg/node-http2 / size

Function size

lib/protocol/compressor.js:68–70  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

66var DEFAULT_HEADER_TABLE_LIMIT = 4096;
67
68function size(entry) {
69 return (new Buffer(entry[0] + entry[1], 'utf8')).length + 32;
70}
71
72// The `add(index, entry)` can be used to [manage the header table][tablemgmt]:
73// [tablemgmt]: https://tools.ietf.org/html/rfc7541#section-4

Callers 1

entryFromPairFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected