Lines Matching refs:startIndex
65 * @param {number} startIndex
69 constructor(dataView, startIndex, length) {
73 this.startIndex_ = startIndex;
75 this.endIndex_ = startIndex + length;
77 this.cursor_ = startIndex;
84 startIndex() {
286 const startIndex = this.cursor_;
289 checkCriticalPositionIndex(this.cursor_, startIndex + 10);
293 * @param {number} startIndex
297 subBufferDecoder(startIndex, length) {
299 startIndex >= this.startIndex(),
300 `Current start: ${this.startIndex()}, subBufferDecoder start: ${
301 startIndex}`);
304 startIndex + length <= this.endIndex(),
306 startIndex}, subBufferDecoder length: ${length}`);
307 return new BufferDecoder(this.dataView_, startIndex, length);