libperun

Class std.io.Seekable

Synopsis

public abstract class Seekable

Represents a stream which can be seeked.

A ''seekable stream'' is one where it is possible to change position, such as a file.

Fields

Constructors

Methods

public abstract void seek(long pos);

Seek to the specified, zero-based position within the stream.

public abstract long tell();

Return the current position within the stream.

public abstract void seekToEnd();

Seek to the end of the stream.