Пример #1
0
        public void EndianSwap()
        {
            ContentType            = ContentType.EndianSwap();
            ContentMetadataVersion = ContentMetadataVersion.EndianSwap();
            ContentSize            = ContentSize.EndianSwap();
            ExecutionId.EndianSwap();
            Creator = Creator.EndianSwap();
            StfsVolumeDescriptor.EndianSwap();
            DataFiles     = DataFiles.EndianSwap();
            DataFilesSize = DataFilesSize.EndianSwap();
            VolumeType    = VolumeType.EndianSwap();
            OnlineCreator = OnlineCreator.EndianSwap();
            Category      = Category.EndianSwap();

            foreach (var str in DisplayName)
            {
                str.EndianSwap();
            }
            foreach (var str in Description)
            {
                str.EndianSwap();
            }
            Publisher.EndianSwap();
            TitleName.EndianSwap();

            ThumbnailSize = ThumbnailSize.EndianSwap();
            foreach (var str in DisplayNameEx)
            {
                str.EndianSwap();
            }

            TitleThumbnailSize = TitleThumbnailSize.EndianSwap();
            foreach (var str in DescriptionEx)
            {
                str.EndianSwap();
            }
        }