Пример #1
0
        public static void WriteJarArchive(this DataOutputStream stream, MetadataJarArchive archive)
        {
            LogVerbose($"Writing {archive.JavaClasses.Count} metadata classes to file.");
            stream.WriteInt(archive.JavaClasses.Count);
            foreach (var(key, value) in archive.JavaClasses)
            {
                LogDebug($"Writing the class {key} to file.");
                stream.WriteJarArchiveClass(key, value);
            }

            LogVerbose($"Finished writing {archive.JavaClasses.Count} metadata classes to file.");
        }