Exemple #1
0
        public void TestDoubleEncoding()
        {
            NetworkBinaryWriter w = Writer();

            BytesWireFormatting.WriteDouble(w, 1.234);
            Check(w, new byte[] { 63, 243, 190, 118, 200, 180, 57, 88 });
        }
 /// <summary>
 /// Writes a <see cref="double"/> value into the message body being assembled.
 /// </summary>
 public IBytesMessageBuilder WriteDouble(double value)
 {
     BytesWireFormatting.WriteDouble(Writer, value);
     return(this);
 }