mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-07 15:36:23 +00:00
- removed non-generic TLVector
- write length of Vector during Serialization
This commit is contained in:
parent
f40034ad09
commit
7fd0413c7e
4 changed files with 4 additions and 42 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue