Converting 4 bytes back to an int.
Hi there all,
I cant figure out how to do the above.
I read from a file 4 bytes which represents an integer, which is
returned
to me as a string.
ie numberString = f.read( 4 )
How can I convert "numberString" back to an int?
Or do I need to to keep shifting it 4 times?
Anybody got any sample code?
Many thanks in advance,
Chai
--
| "Poetry, like chastity, can be carried to far." -- Mark Twain