You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix encoder panic when last value is empty
Fix a panic in the encoder due to trying to write an empty value at
the end of a line that contains multi-byte characters.
Return error in the error branch
This change fixes the issue when there is an error in decoding, where
the original code would return no error and false for ok. That would
confuse the calling function.
Fix incorrect error for very long lines (#48)
Fix a bug where an io.EOF error would incorrectly be returned when a
line of data contains bufio.MaxScanTokenSize characters or greater.
The decoder will now return ErrTooLong when a line is too long to
decode.
Fixes#47