mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-17 14:25:12 +00:00
BOS.* -> BOS.*
This commit is contained in:
33
BinaryObjectScanner.Models/N3DS/ExeFSFileHeader.cs
Normal file
33
BinaryObjectScanner.Models/N3DS/ExeFSFileHeader.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
namespace BinaryObjectScanner.Models.N3DS
|
||||
{
|
||||
/// <summary>
|
||||
/// There are a maximum of 10 file headers in the ExeFS format. (This maximum
|
||||
/// number of file headers is disputable, with makerom indicating a maximum of
|
||||
/// 8 sections and makecia indicating a maximum of 10. From a non-SDK point of
|
||||
/// view, the ExeFS header format can hold no more than 10 file headers within
|
||||
/// the currently define size of 0x200 bytes.)
|
||||
/// </summary>
|
||||
/// <see href="https://www.3dbrew.org/wiki/ExeFS#File_headers"/>
|
||||
public sealed class ExeFSFileHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// File name
|
||||
/// </summary>
|
||||
public string FileName;
|
||||
|
||||
/// <summary>
|
||||
/// File offset
|
||||
/// </summary>
|
||||
public uint FileOffset;
|
||||
|
||||
/// <summary>
|
||||
/// File size
|
||||
/// </summary>
|
||||
public uint FileSize;
|
||||
|
||||
/// <summary>
|
||||
/// SHA256 hash calculated over the entire file contents
|
||||
/// </summary>
|
||||
public byte[] FileHash;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user