fieldNum) {
                        case 1: // Location
                            if (wireType === 0) {
                                let value = 0;
                                let shift = 0;
                                while (true) {
                                    const byte = buffer[offset++];
                                    value |= (byte & 0x7f) << shift;
                                    if ((byte & 0x80) === 0) break;
                                    shift += 7;
             