def METHOD_NAME(self, tp: str, bytes: bytearray):
    max_index = self.current_index + size_dict[tp]
    bytes = self._convert_to_binary_array(bytes[self.current_index: max_index])
    return struct.METHOD_NAME(tp, bytes)[0]