- open
void open(string filename, FileMode mode)
Open a file for the stream, in an identical manner to the constructors.
If an error occurs an OpenException is thrown.
- create
void create(string filename)
void create(string filename, FileMode mode)
Create a file for writing.
- close
void close()
Close the current file if it is open; otherwise it does nothing.
- ~this
~this()
Undocumented in source.
- size
ulong size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- readBlock
size_t readBlock(void* buffer, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- writeBlock
size_t writeBlock(void* buffer, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- seek
ulong seek(long offset, SeekPos rel)
Undocumented in source. Be warned that the author may not have intended to support it.
- available
size_t available [@property getter]
For a seekable file returns the difference of the size and position and
otherwise returns 0.
- handle
HANDLE handle()
Undocumented in source. Be warned that the author may not have intended to support it.