- removed non-generic TLVector

- write length of Vector during Serialization
This commit is contained in:
Ilya P 2016-10-23 11:17:59 +03:00
parent f40034ad09
commit 7fd0413c7e
4 changed files with 4 additions and 42 deletions

View file

@ -54,6 +54,8 @@ namespace TeleSharp.TL
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
bw.Write(lists.Count());
foreach (var item in lists.Cast<TLObject>())
{
item.SerializeBody(bw);