I believe that in seek(s, pos), pos is the absolute position from the start of the stream, and in skip(s, offset), offset is relative to the current position.
A "stream" can be any IO type, such as a file on disk or an IOBuffer in memory. On Saturday, November 28, 2015 at 6:00:14 PM UTC, Rajn wrote: > > Is there an fseek in Julia which returns to an offset from the beginning > of the buffer during a binary file read? > Would seekstart followed by seek or skip work? I understand that stream is > not the same as file in read()? > Thanks > >
