tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.IO.TagIO Class Reference

Static Public Member Functions

static T Clone< T > (T o)
static object Deserialize (Type type, object tag)
static T Deserialize< T > (object tag)
static TagCompound FromFile (string path, bool compressed=true)
static TagCompound FromStream (Stream stream, bool compressed=true)
static TagCompound Read (BinaryReader reader)
static object ReadTag (BinaryReader r, out string name)
static object Serialize (object value)
static void ToFile (TagCompound root, string path, bool compress=true)
static void ToStream (TagCompound root, Stream stream, bool compress=true)
static void Write (TagCompound root, BinaryWriter writer)
static void WriteTag (string name, object tag, BinaryWriter w)