FileCursor

The cursor MUST have exclusive access on the file

Constructors

this
this(File file, size_t bufferSize, ulong start, ulong end)
Undocumented in source.

Members

Functions

ffw
void ffw(ulong dist)
Undocumented in source. Be warned that the author may not have intended to support it.
get
ubyte get()
Undocumented in source. Be warned that the author may not have intended to support it.
read
ubyte[] read(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
seek
void seek(ulong pos)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

eoi
bool eoi [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pos
ulong pos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
ulong size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_buffer
ubyte[] _buffer;
Undocumented in source.
_end
ulong _end;
Undocumented in source.
_file
File _file;
Undocumented in source.
_pos
ulong _pos;
Undocumented in source.
_start
ulong _start;
Undocumented in source.

Inherited Members

From SearchableCursor

size
ulong size [@property getter]

Complete size of the data

seek
void seek(ulong pos)

Seek to a new position (relative to beginning)

Meta