ios.sysseek(offset, whence=IO::SEEK_SET) รข integer
Instance Public methods
Seeks to a given offset in the stream according to the value of
whence (see IO#seek
for values of whence).
Returns the new offset into the file.
f = File.new("testfile") f.sysseek(-13, IO::SEEK_END) #=> 53 f.sysread(10) #=> "And so on."
Please login to continue.