MCPcopy Index your code
hub / github.com/nodejs/node / buildContentRange

Function buildContentRange

deps/undici/undici.js:5876–5884  ·  view source on GitHub ↗
(rangeStart, rangeEnd, fullLength)

Source from the content-addressed store, hash-verified

5874 }
5875 __name(simpleRangeHeaderValue, "simpleRangeHeaderValue");
5876 function buildContentRange(rangeStart, rangeEnd, fullLength) {
5877 let contentRange = "bytes ";
5878 contentRange += isomorphicEncode(`${rangeStart}`);
5879 contentRange += "-";
5880 contentRange += isomorphicEncode(`${rangeEnd}`);
5881 contentRange += "/";
5882 contentRange += isomorphicEncode(`${fullLength}`);
5883 return contentRange;
5884 }
5885 __name(buildContentRange, "buildContentRange");
5886 var InflateStream = class extends Transform {
5887 static {

Callers 1

schemeFetchFunction · 0.70

Calls 1

isomorphicEncodeFunction · 0.70

Tested by

no test coverage detected