UInt8List* MtpDataPacket::getAUInt8() { UInt8List* result = new UInt8List; int count = getUInt32(); for (int i = 0; i < count; i++) result->push_back(getUInt8()); return result; }