File indexing completed on 2024-04-28 05:45:44
0001 /* 0002 SPDX-FileCopyrightText: 2018 Andrius Štikonas <andrius@stikonas.eu> 0003 0004 SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #include "core/copytargetbytearray.h" 0008 0009 /** This class is for reading disk data into QByteArray 0010 It is only suitable for reading small amount of data such as GPT header or 0011 FAT boot sector. DBus is too slow for copying data of the whole partition. 0012 @param QByteArray to write to 0013 */ 0014 CopyTargetByteArray::CopyTargetByteArray(QByteArray& array) : 0015 CopyTarget(), 0016 m_Array(array) 0017 { 0018 }