FileStream

A file stream

Constructors

this
this(File file)

Constructs a new file stream

Members

Functions

length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
read
ubyte[] read(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
seek
void seek(ptrdiff_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
skip
void skip(ptrdiff_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
tell
size_t tell()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Stream

read
ubyte[] read(size_t length)

Reads X amount of bytes from stream

tell
size_t tell()

Gets the position in the stream

length
size_t length()

Gets the length of the stream

seek
void seek(ptrdiff_t pos)

Sets the position in the stream

skip
void skip(ptrdiff_t pos)

Skips pos amount of bytes in the stream

eof
bool eof()

Gets whether we're EOF

peek
ubyte[] peek(size_t length)

Peeks bytes

Meta