Skip to content

enum IO::Seek

Argument to a seek operation.

Members

Set = 0

Seeks to an absolute location

Current = 1

Seeks to a location relative to the current location in the stream

End = 2

Seeks to a location relative to the end of the stream (you probably want a negative value for the amount)

Methods

#current?

View source

#end?

View source

#set?

View source