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