mirror of
https://github.com/StudentBlake/XCI-Explorer
synced 2024-11-10 06:34:15 +00:00
21 lines
510 B
C#
21 lines
510 B
C#
using System.IO;
|
|
|
|
namespace XTSSharp;
|
|
|
|
public class XtsStream : RandomAccessSectorStream
|
|
{
|
|
public XtsStream(Stream baseStream, Xts xts)
|
|
: this(baseStream, xts, 512)
|
|
{
|
|
}
|
|
|
|
public XtsStream(Stream baseStream, Xts xts, int sectorSize)
|
|
: base(new XtsSectorStream(baseStream, xts, sectorSize), true)
|
|
{
|
|
}
|
|
|
|
public XtsStream(Stream baseStream, Xts xts, int sectorSize, long offset)
|
|
: base(new XtsSectorStream(baseStream, xts, sectorSize, offset), true)
|
|
{
|
|
}
|
|
}
|