Tce.RpcBinarySerializer.readFloat C# (CSharp) Method

readFloat() public static method

public static readFloat ( BinaryReader reader ) : float
reader System.IO.BinaryReader
return float
        public static float readFloat(BinaryReader reader)
        {
            byte[] bytes = reader.ReadBytes(4);
            float value = BitConverter.ToSingle(bytes, 0);
            return value;
        }