"""Classes to (de)serialize message headers""" import struct from steam.enums.emsg import EMsg from steam.protobufs import steammessages_base_pb2 from steam.protobufs import gc_pb2 from steam.utils.proto import set_proto_bit, clear_proto_bit class MsgHdr: _size = struct.calcsize("