File.ReadResult

struct File
static
struct ReadResult {
bool success;
Buffer buffer;
}

Members

Functions

extractDataZ
ubyte[] extractDataZ()

ditto Include the null-terminator at the end of the buffer in the returned array.

extractSlice
ubyte[] extractSlice()

Transfers ownership of the buffer to the caller.

Meta