public override void AfterAutomaticRead(IReader rdr) { nineteenZeroes.Read(rdr); richTextLength.Read(rdr); richText.Length = richTextLength.Value; // Don't read RTF //richText.Read(rdr); utf8TextLength.Read(rdr); utf8Text.Length = utf8TextLength.Value; // Don't read UTF? /* * utf8Text.Read(rdr); * if (utf8TextLength.Value > 0) * { * string kalle = Encoding.UTF8.GetString(utf8Text.Value); * } */ Unknown0.Read(rdr); Unknown1.Read(rdr); Unknown2.Read(rdr); var dest = (sentOrReceived.Value == 0) ? "from" : "to"; Parser.Dumper.OnInfo($"{timestamp} Long Message {dest} UIN:{UIN.Value}, Text: {ansiText.Value}"); base.AfterAutomaticRead(rdr); }
public override void AfterAutomaticRead(IReader rdr) { Filename.Length = FilenameLen.Value; Filename.Read(rdr); ExtraField.Length = ExtraFieldLen.Value; ExtraField.Read(rdr); }
public override void AfterAutomaticRead(IReader rdr) { var data = new Chararray(); data.Length = this.Length.Value; data.Read(rdr); base.AfterAutomaticRead(rdr); }
public override void AfterAutomaticRead(IReader rdr) { Filename.Length = FilenameLen.Value; Filename.Read(rdr); Parser.Dumper.OnInfo("Filename: " + Filename.Value); ExtraField.Length = ExtraFieldLen.Value; ExtraField.Read(rdr); FileComment.Length = FileCommentLen.Value; FileComment.Read(rdr); }
public override void AfterAutomaticRead(IReader rdr) { Parser.Dumper.OnInfo("Length: " + Length.Value); Parser.Dumper.NewItem(); Type.Read(rdr); Parser.Dumper.OnInfo("Magic : " + Type.Value); Data.Length = Length.Value; Data.Read(rdr); CRC.Read(rdr); }
public override void AfterAutomaticRead(IReader rdr) { Data.Length = Length.Value; Data.Read(rdr); var tmp = Data.Value.Split(new char[] { (char)0 }); if (tmp.Length == 2) { Keyword = tmp[0]; Text = tmp[1]; } else { Keyword = ""; Text = Data.Value; } Parser.Dumper.OnInfo("tEXt: " + Text); base.AfterAutomaticRead(rdr); }
public override void AfterAutomaticRead(IReader rdr) { FileComment.Length = FileCommentLen.Value; FileComment.Read(rdr); Parser.Dumper.OnInfo("Comment: " + FileComment.Value); }
public override void Read(IReader rdr) { Length.Read(rdr); Text.Length = Length.Value; Text.Read(rdr); }