Lines Matching refs:bytesRead
24 bytesRead: number; property
39 private bytesRead = 0;
55 this.bytesRead += res.byteLength;
58 eof: this.bytesRead >= this.traceFile.size,
59 bytesRead: this.bytesRead,
65 const sliceEnd = Math.min(this.bytesRead + SLICE_SIZE, this.traceFile.size);
66 const slice = this.traceFile.slice(this.bytesRead, sliceEnd);
77 private bytesRead = 0; property in TraceBufferStream
84 assertTrue(this.bytesRead <= this.traceBuf.byteLength);
85 const len = Math.min(SLICE_SIZE, this.traceBuf.byteLength - this.bytesRead);
86 const data = new Uint8Array(this.traceBuf, this.bytesRead, len);
87 this.bytesRead += len;
90 eof: this.bytesRead >= this.traceBuf.byteLength,
91 bytesRead: this.bytesRead,
100 private bytesRead = 0; property in TraceHttpStream
124 let bytesRead = 0; variable
130 while (!eof && bytesRead < 32 * 1024 * 1024) {
135 bytesRead += res.value.length;
145 data = new Uint8Array(bytesRead);
153 this.bytesRead += data.length;
158 bytesRead: this.bytesRead,