File.read_uint32
Reads the next four bytes from this File
object and returns it as an unsigned 32-bit integer Number
object. The value is read from the zero-based File.pos
position. File.pos
is then incremented by 4. If this File
object is invalid then the getter returns Nothing
.
var f = File("/Users/garry/Desktop/test.txt")
f.read_uint32 # E.g: 1232236398