EncodeInitialOfferMessage() public static method

Transform the INITIAL_OFFER_MESSAGE to a byte array
public static EncodeInitialOfferMessage ( INITIAL_OFFER_MESSAGE initOfferMsg ) : byte[]
initOfferMsg INITIAL_OFFER_MESSAGE The INITIAL_OFFER_MESSAGE message
return byte[]
 /// <summary>
 /// Send the INITIAL_OFFER_MESSAGE request.
 /// </summary>
 /// <param name="initialOfferMessage">The INITIAL_OFFER_MESSAGE message.</param>
 /// <returns>The repsonse message RESPONSE_MESSAGE from the hosted cache.</returns>
 public RESPONSE_MESSAGE SendInitialOfferMessage(INITIAL_OFFER_MESSAGE initialOfferMessage)
 {
     return(this.responseMessage = this.SendByte(EncodeMessage.EncodeInitialOfferMessage(initialOfferMessage)));
 }