Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
IFormatter.cs
Go to the documentation of this file.
2using System.IO;
3
5
6public interface IFormatter
7{
9
11
13
14 [Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId = "SYSLIB0011", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
15 [RequiresUnreferencedCode("BinaryFormatter serialization is not trim compatible because the Type of objects being processed cannot be statically discovered.")]
17
18 [Obsolete("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId = "SYSLIB0011", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
19 [RequiresUnreferencedCode("BinaryFormatter serialization is not trim compatible because the Type of objects being processed cannot be statically discovered.")]
21}
void Serialize(Stream serializationStream, object graph)
object Deserialize(Stream serializationStream)