302
320
// The text returned from ReadLine does not include the line end ("\r\n" or "\n").
303
321
// No indication or error is given if the input ends without a final line end.
304
325
func (b *Reader) ReadLine() (line []byte, isPrefix bool, err error) {
305
326
line, err = b.ReadSlice('\n')
306
327
if err == ErrBufferFull {