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
The current implementation of dagjson.Decode consumes whitespaces and EOF after a valid object.
This precludes repeated use on a single stream. Perhaps we could introduce a decoder option that does not consume any bytes after the terminal "}". This is generally the expected design for a decoder of any self-delimited format, in the sense that the self-delimitedness property is otherwise unusable in code. (E.g. json.Decode.)
The text was updated successfully, but these errors were encountered:
The current implementation of dagjson.Decode consumes whitespaces and EOF after a valid object.
This precludes repeated use on a single stream. Perhaps we could introduce a decoder option that does not consume any bytes after the terminal "}". This is generally the expected design for a decoder of any self-delimited format, in the sense that the self-delimitedness property is otherwise unusable in code. (E.g. json.Decode.)
The text was updated successfully, but these errors were encountered: