Function readLine
Reads and returns a single line from the stream
.
Prototype
ubyte[] readLine( InputStream stream, ulong max_bytes, string linesep, shared(Allocator) alloc );
Throws
An exception if either the stream
end was hit without hitting a newline first, or
if more than max_bytes
have been read from the stream
.
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.