Sign in to follow this  
Programmer101

[C#] Reading floats from a binary file

Recommended Posts

Hi everyone. I have a large heightmap file with arrays of floats which I am now trying to read in a c# file using a StreamReader and a BinaryReader. I have noticed that the BinaryReader does not have a ReadFloat(). It does have ReadDecimal() though. Is that the same? Otherwise what is it? Thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this