2019-05-06 18:37:29 +01:00
|
|
|
using System.Collections.Generic;
|
2019-05-06 20:21:57 +01:00
|
|
|
using System.IO;
|
2020-02-27 00:33:26 +00:00
|
|
|
using Aaru.CommonTypes.Enums;
|
|
|
|
|
using Aaru.CommonTypes.Interfaces;
|
|
|
|
|
using Aaru.CommonTypes.Structs;
|
2019-05-06 18:37:29 +01:00
|
|
|
|
2020-02-27 00:33:26 +00:00
|
|
|
namespace Aaru.DiscImages.CopyTape
|
2019-05-06 18:37:29 +01:00
|
|
|
{
|
2019-05-06 22:42:13 +01:00
|
|
|
public partial class CopyTape : IWritableTapeImage
|
2019-05-06 18:37:29 +01:00
|
|
|
{
|
2019-05-06 20:21:57 +01:00
|
|
|
long[] blockPositionCache;
|
|
|
|
|
ImageInfo imageInfo;
|
|
|
|
|
Stream imageStream;
|
|
|
|
|
|
2020-02-29 18:03:35 +00:00
|
|
|
public CopyTape() => imageInfo = new ImageInfo
|
2019-05-06 18:37:29 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
ReadableSectorTags = new List<SectorTagType>(), ReadableMediaTags = new List<MediaTagType>(),
|
|
|
|
|
HasPartitions = true, HasSessions = true, Version = null,
|
|
|
|
|
ApplicationVersion = null,
|
|
|
|
|
MediaTitle = null, Creator = null, MediaManufacturer = null,
|
|
|
|
|
MediaModel = null,
|
|
|
|
|
MediaPartNumber = null, MediaSequence = 0, LastMediaSequence = 0,
|
|
|
|
|
DriveManufacturer = null,
|
|
|
|
|
DriveModel = null, DriveSerialNumber = null, DriveFirmwareRevision = null
|
|
|
|
|
};
|
2019-05-06 18:37:29 +01:00
|
|
|
}
|
|
|
|
|
}
|