vibe.d beta banner
get vibe.d
0.8.3

Asynchronous I/O that doesn’t get in your way, written in D

Struct FileStream

Accesses the contents of a file as a stream.

struct FileStream ;

Properties

NameTypeDescription
dataAvailableForRead[get] bool
empty[get] bool
fd[get] int
isOpen[get] boolDetermines if the file stream is still open
leastSize[get] ulong
path[get] GenericPath!(vibe.core.path.PosixPathFormat)The path of the file.
readable[get] bool
size[get] ulong
writable[get] bool

Methods

NameDescription
close Closes the file handle.
finalize
flush
opCast
peek
read
read
seek
takeOwnershipOfFD
tell
write
write
write
write
Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.