Lines Matching refs:datalength
3653 var datalength = Number(xhr.getResponseHeader("Content-length"));
3658 if (!hasByteServing) chunkSize = datalength;
3663 if (to > datalength-1) throw new Error("only " + datalength + " bytes available! programmer error!");
3668 if (datalength !== chunkSize) xhr.setRequestHeader("Range", "bytes=" + from + "-" + to);
3688 end = Math.min(end, datalength-1); // if datalength-1 is selected, this is the last block
3696 this._length = datalength;