def _get_bytearray_from_array(src: 'typing.Iterable[bytes]') ->bytearray:
    """Get bytearray from array of bytes blocks.

    :param src: source to process
    :type src: typing.List[bytes]
    :return: bytearray
    :rtype: bytearray
    """
    return bytearray(b''.join(src))
