mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Move NxFileStream, Delta
This commit is contained in:
parent
3c6d082ad4
commit
7681429c97
4 changed files with 10 additions and 6 deletions
|
@ -6,6 +6,7 @@ using System.Runtime.CompilerServices;
|
|||
using LibHac.Common;
|
||||
using LibHac.Fs;
|
||||
using LibHac.Fs.Fsa;
|
||||
using LibHac.Tools.FsSystem;
|
||||
using LibHac.Util;
|
||||
using Path = LibHac.Fs.Path;
|
||||
|
||||
|
@ -391,4 +392,4 @@ public enum SearchOptions
|
|||
Default = 0,
|
||||
RecurseSubdirectories = 1 << 0,
|
||||
CaseInsensitive = 1 << 1
|
||||
}
|
||||
}
|
|
@ -3,8 +3,9 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using LibHac.Fs;
|
||||
using LibHac.Fs.Fsa;
|
||||
using LibHac.FsSystem;
|
||||
|
||||
namespace LibHac.FsSystem;
|
||||
namespace LibHac.Tools.FsSystem;
|
||||
|
||||
public class Delta
|
||||
{
|
||||
|
@ -160,4 +161,4 @@ public class DeltaHeader
|
|||
HeaderSize = reader.ReadInt64();
|
||||
BodySize = reader.ReadInt64();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -2,8 +2,9 @@
|
|||
using System.IO;
|
||||
using LibHac.Fs;
|
||||
using LibHac.Fs.Fsa;
|
||||
using LibHac.FsSystem;
|
||||
|
||||
namespace LibHac.FsSystem;
|
||||
namespace LibHac.Tools.FsSystem;
|
||||
|
||||
public class NxFileStream : Stream
|
||||
{
|
||||
|
@ -79,4 +80,4 @@ public class NxFileStream : Stream
|
|||
if (!LeaveOpen) BaseFile?.Dispose();
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,6 +7,7 @@ using LibHac.Fs;
|
|||
using LibHac.Fs.Fsa;
|
||||
using LibHac.FsSystem;
|
||||
using LibHac.FsSystem.NcaUtils;
|
||||
using LibHac.Tools.FsSystem;
|
||||
using static hactoolnet.Print;
|
||||
|
||||
namespace hactoolnet;
|
||||
|
@ -84,4 +85,4 @@ internal static class ProcessDelta
|
|||
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue