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

Function add

lib/protocol/compressor.js:495–501  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

493 var space = 8;
494
495 function add(data) {
496 if (space === 8) {
497 result.push(data);
498 } else {
499 result[result.length - 1] |= data;
500 }
501 }
502
503 for (var i = 0; i < buffer.length; i++) {
504 var byte = buffer[i];

Callers 1

compressor.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected