Beispiel #1
0
 protected override void Initialize()
 {
     Reader.BaseStream.Position = 0;
     Header = new GARCHeader(Reader);
     FATO   = new FATO(Reader);
     FATB   = new FATB(Reader, Header.DataOffset);
 }
Beispiel #2
0
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.

        public GARC(IReadOnlyList <string> files, GARCVersion version = GARCVersion.VER_6)
        {
            Header = new GARCHeader(version);
            FATO   = new FATO(files.Count);
            FATB   = new FATB(files);
            Files  = new byte[]?[files.Count];
        }
Beispiel #3
0
 protected override void Initialize()
 {
     Reader !.BaseStream.Position = 0;
     Header = new GARCHeader(Reader);
     FATO   = new FATO(Reader);
     FATB   = new FATB(Reader, Header.DataOffset);
     Files  = new byte[]?[FATO.EntryCount];
 }