public void TestSingleDecoding() { Assert.AreEqual(1.234f, BytesWireFormatting.ReadSingle(Reader (new byte[] { 63, 157, 243, 182 }))); }
/// <summary> /// Reads a <see cref="float"/> from the message body. /// </summary> public float ReadSingle() { return(BytesWireFormatting.ReadSingle(Reader)); }