API:IOTools
From Kerbal Space Program Wiki
KSP.IO Namespace
BinaryReader ·
BinaryWriter ·
File ·
FileInfo ·
FileStream ·
IOException ·
IOTools ·
IOUtils ·
MemoryStream ·
PluginConfigNode ·
PluginConfiguration ·
TextReader ·
TextWriter
IOTools Class
Provide some common IO tools that are needed by plugins.
Methods
The following are methods included in IOTools.
Signature | Description |
---|---|
static object DeserializeFromBinary(byte[] input) | Deserialize a binary serialized object |
static byte[] SerializeToBinary(object something) | Serialize an object (same as using a BinaryFormatter). |