def METHOD_NAME(self) -> bytes:
    """Convert block object to bytes
    :return: data including information of block object
    """
    byteorder = DATA_BYTE_ORDER
    # for extendability
    block_height_bytes = self._height.METHOD_NAME(DEFAULT_BYTE_SIZE, byteorder)
    block_hash_bytes = self._hash
    timestamp_bytes = self._timestamp.METHOD_NAME(DEFAULT_BYTE_SIZE, byteorder)
    tmp_prev_hash = self._prev_hash
    if tmp_prev_hash is None:
        tmp_prev_hash = bytes(DEFAULT_BYTE_SIZE)
    prev_block_hash_bytes = tmp_prev_hash
    return Block._struct.pack(
        self._VERSION,
        block_height_bytes,
        block_hash_bytes,
        timestamp_bytes,
        prev_block_hash_bytes)