Added a readLong() function.

Signed-off-by: interdpth <interdpth@gmail.com>