Lines Matching defs:bufferDecoder
72 * @param {!BufferDecoder} bufferDecoder
78 function readOptional(indexArray, bufferDecoder, readFunc, wireType) {
83 return readFunc(bufferDecoder, Field.getStartIndex(indexEntry));
93 * @param {!BufferDecoder} bufferDecoder
101 indexArray, bufferDecoder, singularReadFunc, packedReadFunc,
106 return packedReadFunc(bufferDecoder, Field.getStartIndex(indexArray[0]));
114 result = result.concat(packedReadFunc(bufferDecoder, startIndex));
117 result.push(singularReadFunc(bufferDecoder, startIndex));
128 * @param {!BufferDecoder} bufferDecoder
133 function readRepeatedNonPrimitive(indexArray, bufferDecoder, singularReadFunc) {
138 singularReadFunc(bufferDecoder, Field.getStartIndex(indexArray[i]));
148 * @param {!BufferDecoder} bufferDecoder
156 indexArray, bufferDecoder, fieldNumber, instanceCreator, pivot) {
160 bufferDecoder, indexArray[i], fieldNumber, instanceCreator, pivot);
169 * @param {!BufferDecoder} bufferDecoder
172 function mergeMessageArrays(indexArray, bufferDecoder) {
175 reader.readDelimited(bufferDecoder, Field.getStartIndex(indexEntry)));
181 * @param {!BufferDecoder} bufferDecoder
185 function readAccessor(indexArray, bufferDecoder, pivot = undefined) {
193 reader.readDelimited(bufferDecoder, Field.getStartIndex(indexEntry));
198 accessorBuffer = mergeMessageArrays(indexArray, bufferDecoder);
207 * @param {!BufferDecoder} bufferDecoder
213 function readMessage(indexArray, bufferDecoder, instanceCreator, pivot) {
215 const accessor = readAccessor(indexArray, bufferDecoder, pivot);
223 * @param {!BufferDecoder} bufferDecoder
231 indexArray, bufferDecoder, fieldNumber, instanceCreator, pivot) {
235 bufferDecoder, indexArray[indexArray.length - 1], fieldNumber,
242 * @param {!BufferDecoder} bufferDecoder
251 bufferDecoder, indexEntry, fieldNumber, instanceCreator, pivot) {
257 bufferDecoder, fieldStartIndex, WireType.START_GROUP, fieldNumber);
258 const accessorBuffer = bufferDecoder.subBufferDecoder(
358 const bufferDecoder = BufferDecoder.fromArrayBuffer(arrayBuffer);
359 return Kernel.fromBufferDecoder_(bufferDecoder, pivot);
374 return new Kernel(/* bufferDecoder= */ null, new BinaryStorage(pivot));
380 * @param {!BufferDecoder} bufferDecoder Binary bytes.
385 static fromBufferDecoder_(bufferDecoder, pivot) {
386 return new Kernel(bufferDecoder, buildIndex(bufferDecoder, pivot));
390 * @param {?BufferDecoder} bufferDecoder Binary bytes. Accessor treats the
397 constructor(bufferDecoder, fields) {
399 this.bufferDecoder_ = bufferDecoder;
1629 (indexArray, bufferDecoder) => readRepeatedNonPrimitive(
1630 indexArray, bufferDecoder, reader.readString));
1765 const readMessageFunc = (bufferDecoder, start) => Kernel.fromBufferDecoder_(
1766 reader.readDelimited(bufferDecoder, start), pivot);
1799 (indexArray, bufferDecoder) => readRepeatedGroup(
1800 indexArray, bufferDecoder, fieldNumber, instanceCreator, pivot),