Ejemplo n.º 1
0
 protected override void Initialize()
 {
     Reader.BaseStream.Position = 0;
     Header = new GARCHeader(Reader);
     FATO   = new FATO(Reader);
     FATB   = new FATB(Reader, Header.DataOffset);
 }
Ejemplo n.º 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];
        }
Ejemplo n.º 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];
 }