TypeSerializationHelper.StringSerialization
A class in Root.Township, the global namespace.
Serializer for string. A null string is sent as empty.
- Listed in Global namespace: T to X
- Nested in
TypeSerializationHelper - Inherits or implements
TypeSerializationHelper.TypeSerialization<string>
Constructors
| Member | What it is |
|---|---|
StringSerialization() | Creates a TypeSerializationHelper.StringSerialization with default values. |
Methods
| Member | What it is |
|---|---|
protected override void Serialize(Type type, ref string value, Stream stream, ChunkVersioning versioning) | Reads or writes the string, turning null into an empty string on write. |