public override byte[] ToBytes() { return(TLUtils.Combine( TLUtils.SignatureToBytes(Signature), Id.ToBytes(), Ip.ToBytes(), IpV6.ToBytes(), Port.ToBytes(), PeerTag.ToBytes())); }
public override void ToStream(Stream output) { output.Write(TLUtils.SignatureToBytes(Signature)); Id.ToStream(output); Ip.ToStream(output); IpV6.ToStream(output); Port.ToStream(output); PeerTag.ToStream(output); }