def _unpack_key(key):
    return key >> 3, key & 7

# This used to correctly determine the length of unknown tags when loading a message.
Unpacks a key into a tag and a wire_type according to the protobuf spec.
dataset/ETHPy150Open eigenein/protobuf/protobuf.py/_unpack_key