1234567891011121314151617181920212223242526272829303132 |
- using System.IO;
- namespace InABox.Formatters
- {
- public class CoreFormattableString : ICoreFormattable
- {
- public string Content { get; set; }
- public CoreFormattableString()
- {
-
- }
- public CoreFormattableString(string content)
- {
- Content = content;
- }
- public void Write(BinaryWriter writer)
- {
- writer.Write(Content);
- }
- public void Read(BinaryReader reader)
- {
- Content = reader.ReadString();
- }
- }
- }
|