TLSharp/TeleSharp.TL/TL/Upload/TLCdnFile.cs
Andrzej Gołaszewski ca3a71e39a update to layer 71
code formatting
2017-12-20 12:06:31 +01:00

34 lines
663 B
C#

using System.IO;
namespace TeleSharp.TL.Upload
{
[TLObject(-1449145777)]
public class TLCdnFile : TLAbsCdnFile
{
public byte[] Bytes { get; set; }
public override int Constructor
{
get
{
return -1449145777;
}
}
public void ComputeFlags()
{
}
public override void DeserializeBody(BinaryReader br)
{
Bytes = BytesUtil.Deserialize(br);
}
public override void SerializeBody(BinaryWriter bw)
{
bw.Write(Constructor);
BytesUtil.Serialize(Bytes, bw);
}
}
}