binary: expose overflow error #43538
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
At the moment it is not possible to distinguish I/O errors from encoding errors with
binary.ReadUvarint
andbinary.ReadVarint
. The documentation could mention that an overflow is the only encoding error option.The text was updated successfully, but these errors were encountered: