public TextEntry Load(Stream input) { using (var br = new BinaryReaderX(input, true)) { // Read _content = br.ReadType <MSGContent>(); return(new TextEntry { Name = "content", EditedText = _content.Content, OriginalText = _content.Content }); } }
/// <summary> /// /// </summary> /// <param name="input"></param> public MSG(Stream input) { using (var br = new BinaryReaderX(input, true)) { // Read _content = br.ReadType <MSGContent>(); Entries = new List <TextEntry> { new TextEntry { Name = "content", EditedText = _content.Content, OriginalText = _content.Content } }; } }