Пример #1
0
        public override void ToStream(Stream output)
        {
            output.Write(TLUtils.SignatureToBytes(Signature));

            CustomFlags.ToStream(output);
            SelectedIndex.ToStream(output);
            Items.ToStream(output);
        }
Пример #2
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     DCId.ToStream(output);
     PublicKey.ToStream(output);
     CustomFlags.ToStream(output);
     ToStream(output, _publicKeyFingerprint, CustomFlags, (int)CdnPublicKeyCustomFlags.PublicKeyFingerprint);
 }
Пример #3
0
        public override void ToStream(Stream output)
        {
            output.Write(TLUtils.SignatureToBytes(Signature));

            CustomFlags.ToStream(output);
            Server.ToStream(output);
            Port.ToStream(output);
            Secret.ToStream(output);

            ToStream(output, Ping, CustomFlags, (int)ProxyCustomFlags.Ping);
            ToStream(output, CheckTime, CustomFlags, (int)ProxyCustomFlags.CheckTime);
        }
Пример #4
0
        public override void ToStream(Stream output)
        {
            output.Write(TLUtils.SignatureToBytes(Signature));
            HashValue.ToStream(output);
            Packs.ToStream(output);

            Sets.ToStream(output);
            Documents.ToStream(output);
            ShowStickersTab.NullableToStream(output);
            RecentlyUsed.NullableToStream(output);
            Date.NullableToStream(output);
            CustomFlags.ToStream(output);
            ToStream(output, RecentStickers, CustomFlags, (int)AllStickersCustomFlags.RecentStickers);
            ToStream(output, FavedStickers, CustomFlags, (int)AllStickersCustomFlags.FavedStickers);
            ToStream(output, _showStickersByEmoji, CustomFlags, (int)AllStickersCustomFlags.ShowStickersByEmoji);
        }