@staticmethod
def _serialize_bytes(value):
    """
        Serializes the value and pads to multiple of 32 bytes

        :param value:
        :type value: str or bytearray or Array
        """
    return value + bytearray(b'\x00' * (32 - len(value)))
