Closed ghost closed 2 years ago
In the case of a long input line, decoding fails with bufio.ErrBufferFull. For example, this occurs when the event description is long enough so that the length of the line exceeds the default buffer size.
bufio.ErrBufferFull
Instead of working around ReadSlice, can we use ReadLine which returns a isPrefix bool indicating whether more data is available?
ReadSlice
ReadLine
isPrefix bool
In the case of a long input line, decoding fails with
bufio.ErrBufferFull
. For example, this occurs when the event description is long enough so that the length of the line exceeds the default buffer size.