def write(self, frame, value): return BitPaddedInt.to_str(value, bits=8, width=self.__sz)
def read(self, frame, data): return int(BitPaddedInt(data[:self.__sz], bits=8)), data[self.__sz:]
def read(self, frame, data): return int(BitPaddedInt(data, bits=8)), ''
def write(self, frame, value): return BitPaddedInt.to_bytes(value, bits=8, width=-1)