/// <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); }
/// <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); }