Example #1
0
 public void TestDoubleDecoding()
 {
     Assert.AreEqual(1.234,
                     BytesWireFormatting.ReadDouble(Reader
                                                        (new byte[] { 63, 243, 190, 118,
                                                                      200, 180, 57, 88 })));
 }
 /// <summary>
 /// Reads a <see cref="double"/> from the message body.
 /// </summary>
 public double ReadDouble()
 {
     return(BytesWireFormatting.ReadDouble(Reader));
 }