Alexandria.Platforms.Wii.NintendoOpticalDiscPartition.NintendoOpticalDiscPartition C# (CSharp) Метод

NintendoOpticalDiscPartition() приватный Метод

private NintendoOpticalDiscPartition ( NintendoOpticalDiscVolume volume, AssetLoader loader, int index ) : System
volume NintendoOpticalDiscVolume
loader Glare.Assets.AssetLoader
index int
Результат System
        internal NintendoOpticalDiscPartition(NintendoOpticalDiscVolume volume, AssetLoader loader, int index)
            : base(volume, volume.Name + ", Partition " + (index + 1))
        {
            BinaryReader reader = loader.Reader;

            Cypher.Padding = PaddingMode.None;
            Cypher.Mode = CipherMode.CBC;

            Index = index;
            HeaderOffset = reader.ReadUInt32() * 4L;
            Type = (NintendoOpticalDiscPartitionType)reader.ReadInt32();
        }