/// <summary> /// Push a new frame containing the given long (converted into a byte-array) into the frame-stack of this NetMQMessage. /// </summary> /// <param name="value">the 64-bit number to create a new frame from</param> /// <remarks> /// The concept is the same as pushing an element onto a stack. /// This creates a new frame from the given data (in this case a 64-bit long which gets converted into a byte-array in /// big-endian order) and inserts it into the lowest-indexed position of /// the collection of frames of this NetMQMessage, /// pushing all of the other frames upward in index-position. /// </remarks> public void Push(long value) { this.Push(NetworkOrderBitsConverter.GetBytes(value)); }
/// <summary> /// Convert the given long value into an array of bytes and add it as a new frame onto this NetMQMessage. /// </summary> /// <param name="value">a 64-bit number that is to be converted into bytes and added to this message</param> public void Append(long value) { this.Append(NetworkOrderBitsConverter.GetBytes(value)); }