• Home
  • Raw
  • Download

Lines Matching refs:byteWidth

16   const byteWidth = dataView.getUint8(len - 1);  constant
18 const parentWidth = fromByteWidth(byteWidth);
19 const offset = len - byteWidth - 2; constant
24 …, key: string, dataView: DataView, offset: number, parentWidth: number, byteWidth: number, length:…
26 const elementOffset = _indirect + index * byteWidth;
27 const packedType = dataView.getUint8(_indirect + length * byteWidth + index);
28 …return new Reference(dataView, elementOffset, fromByteWidth(byteWidth), packedType, `${path}/${key…
32 private readonly byteWidth: number property in Reference
36 this.byteWidth = 1 << (packedType & 3)
65 …s.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWidth(this.byteWidth));
68 …s.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWidth(this.byteWidth));
78 …s.dataView, indirect(this.dataView, this.offset, this.parentWidth), fromByteWidth(this.byteWidth));
108 const elementOffset = _indirect + key * this.byteWidth;
109 let _packedType = this.dataView.getUint8(_indirect + length * this.byteWidth + key);
117 …return new Reference(this.dataView, elementOffset, fromByteWidth(this.byteWidth), _packedType, `${…
120 … const index = keyIndex(key, this.dataView, this.offset, this.parentWidth, this.byteWidth, length);
122 …xWithKey(index, key, this.dataView, this.offset, this.parentWidth, this.byteWidth, length, this.pa…
138 …ect(this.dataView, this.offset, this.parentWidth) - this.byteWidth, fromByteWidth(this.byteWidth))…
143 let sizeByteWidth = this.byteWidth;
144 size = readUInt(this.dataView, _indirect - sizeByteWidth, fromByteWidth(this.byteWidth));
147 size = readUInt(this.dataView, _indirect - sizeByteWidth, fromByteWidth(this.byteWidth));
175 const key = keyForIndex(i, this.dataView, this.offset, this.parentWidth, this.byteWidth);
176 …IndexWithKey(i, key, this.dataView, this.offset, this.parentWidth, this.byteWidth, length, this.pa…