示例#1
0
 /// <summary>
 /// Decode the SPNG payload from the message bytes.
 /// Should be overridden in the inheriting classes
 /// </summary>
 /// <param name="buffer">The byte array to be decoded.</param>
 public override void FromBytes(byte[] buffer)
 {
     this.Asn1Token = SpngUtility.DecodeAsn1 <InitialNegToken2>(buffer);
 }
示例#2
0
 /// <summary>
 /// Decode the SPNG payload from the message bytes.
 /// Should be overridden in the inheriting classes
 /// </summary>
 /// <param name="buffer">The byte array to be decoded.</param>
 public override void FromBytes(byte[] buffer)
 {
     this.Asn1Token = SpngUtility.DecodeAsn1 <NegotiationToken>(buffer);
 }