internal static ITag Parse(BinaryReader reader) { TagList arr = new TagList(); while (reader.ReadBoolean()) { ITag value = TagMaster.ParseValue(reader); arr.Add(value); } return(arr); }
internal static ITag Parse(BinaryReader reader) { TagCompound obj = new TagCompound(); while (reader.ReadBoolean()) { string key = TagMaster.ReadString(reader); ITag value = TagMaster.ParseValue(reader); obj.AddProperty(key, value); } return(obj); }