vibe.d beta banner
get vibe.d
0.7.30

Function StdFileStream.leastSize

Returns the maximum number of bytes that are known to remain in this stream until the end is reached. After leastSize() bytes have been read, the stream will either have reached EOS and empty() returns true, or leastSize() returns again a number > 0.

Prototype

override ulong leastSize() @property;
Authors

Sönke Ludwig, Eric Cornelius

Copyright

© 2014 RejectedSoftware e.K.

License

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