mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 11:14:25 +00:00
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
using System.IO;
|
|
using Aaru.CommonTypes.Interfaces;
|
|
using Aaru.CommonTypes.Structs;
|
|
|
|
namespace Aaru.Images;
|
|
|
|
/// <inheritdoc />
|
|
/// <summary>Implements reading and writing copytape tape images</summary>
|
|
public sealed partial class CopyTape : IWritableTapeImage
|
|
{
|
|
long[] _blockPositionCache;
|
|
ImageInfo _imageInfo;
|
|
Stream _imageStream;
|
|
|
|
public CopyTape() => _imageInfo = new ImageInfo
|
|
{
|
|
ReadableSectorTags = [],
|
|
ReadableMediaTags = [],
|
|
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
|
|
};
|
|
} |