Seek sets the offset for the next
write() to offset,
interpreted according to
SeekStart means relative to the start
of the file,
SeekCurrent means relative to the current offset, and
SeekEnd means relative to the end. Seek returns the new offset relative
to the start of the file and an error, if any.
Seeking to an offset before the start of the file is an error. Seeking to any positive offset is legal, but the behavior of subsequent I/O operations on the underlying object is implementation-dependent.
Generated using TypeDoc