예제 #1
0
 public override byte[] ToBytes()
 {
     return(TLUtils.Combine(
                TLUtils.SignatureToBytes(Signature),
                Lat.ToBytes(),
                Long.ToBytes()));
 }
예제 #2
0
 public override void ToStream(Stream output)
 {
     output.Write(TLUtils.SignatureToBytes(Signature));
     output.Write(Long.ToBytes());
     output.Write(Lat.ToBytes());
     output.Write(AccessHash.ToBytes());
 }