LibasyncFileStream

Writes or reads asynchronously (in another thread) for sizes > 64kb to benefit from kernel page cache in lower size operations.

Constructors

this
this(Path path, FileMode mode)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

write
alias write = Stream.write
Undocumented in source.

Functions

acquire
void acquire()
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()
Undocumented in source. Be warned that the author may not have intended to support it.
peek
const(ubyte)[] peek()
Undocumented in source. Be warned that the author may not have intended to support it.
read
size_t read(ubyte[] dst, IOMode )
Undocumented in source. Be warned that the author may not have intended to support it.
release
void release()
Undocumented in source. Be warned that the author may not have intended to support it.
seek
void seek(ulong offset)
Undocumented in source. Be warned that the author may not have intended to support it.
tell
ulong tell()
Undocumented in source. Be warned that the author may not have intended to support it.
write
size_t write(ubyte[] bytes_, IOMode )
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

dataAvailableForRead
bool dataAvailableForRead [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isOpen
bool isOpen [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
leastSize
ulong leastSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
path
Path path [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
readable
bool readable [@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.
writable
bool writable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta