readLine

Reads and returns a single line from the stream.

  1. ubyte[] readLine(InputStream stream, size_t max_bytes, string linesep, IAllocator alloc)
    ubyte[]
    readLine
    (
    InputStream
    )
    (
    InputStream stream
    ,
    size_t max_bytes = size_t.max
    ,
    string linesep = "\r\n"
    ,
    IAllocator alloc = vibeThreadAllocator()
    )
    if (
    isInputStream!InputStream
    )
  2. void readLine(InputStream stream, OutputStream dst, size_t max_bytes, string linesep)
  3. void readLine(InputStream stream, R dst, size_t max_bytes, string linesep)

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.

Meta