                   }
                                location = value;
                            }
                            break;

                        case 2: // AnalogValue
                            if (wireType === 0) {
                                let value = 0;
                                let shift = 0;
                                while (true) {
                                    const byte = buffer[offset++];
                                    value |= (byte & 0x7f) << shift;
 