Пример #1
0
 public override void SerializeBody(BinaryWriter bw)
 {
     bw.Write(Constructor);
     bw.Write(UserId);
     BoolUtil.Serialize(Blocked, bw);
 }
Пример #2
0
 public override void DeserializeBody(BinaryReader br)
 {
     UserId  = br.ReadInt32();
     Blocked = BoolUtil.Deserialize(br);
 }
Пример #3
0
 public override void DeserializeBody(BinaryReader br)
 {
     Ordered = BoolUtil.Deserialize(br);
     Items   = (TLVector <TLAbsRichText>)ObjectUtils.DeserializeVector <TLAbsRichText>(br);
 }
Пример #4
0
 public override void SerializeBody(BinaryWriter bw)
 {
     bw.Write(Constructor);
     BoolUtil.Serialize(Ordered, bw);
     ObjectUtils.SerializeObject(Items, bw);
 }
Пример #5
0
 public override void DeserializeBody(BinaryReader br)
 {
     ChatId  = br.ReadInt32();
     Enabled = BoolUtil.Deserialize(br);
     Version = br.ReadInt32();
 }