utils.io

Undocumented in source.

Public Imports

std.file
public import std.file;
std.stdio
public import std.stdio;

Members

Functions

peek
ubyte[] peek(File file, ptrdiff_t length)

Peeks values

peekStr
string peekStr(File file, uint length)

Peeks a string

peekValue
T peekValue(File file)

Reads file value in big endian fashion

read
ubyte[] read(File file, size_t length)

Reads values

readPascalStr
string readPascalStr(File file, uint readTo)

Reads a pascal string

readStr
string readStr(File file, uint length)

Reads a string

readValue
T readValue(File file)

Reads file value in big endian fashion

skip
void skip(File file, ptrdiff_t length)

Skips bytes

Meta