I have this little script to encode and decode a header
HEADER_LENGTH = 4 class Header: def encode(length: int, is