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
In #51115, a proposal to add an error field to io.LimitedReader was accepted, but then the change was reverted when it turned out to have some tricky corner cases around the last byte.
As a new proposal, which may or may not supersede the change to io.LimitedReader, I suggest adding an io.LimitWriter function with approximately this implementation:
In #51115, a proposal to add an error field to
io.LimitedReader
was accepted, but then the change was reverted when it turned out to have some tricky corner cases around the last byte.As a new proposal, which may or may not supersede the change to
io.LimitedReader
, I suggest adding anio.LimitWriter
function with approximately this implementation:The text was updated successfully, but these errors were encountered: