( )⚙ D4433 cborutil: remove readindefinitebytestringtoiter()

This is an archive of the discontinued Mercurial Phabricator instance.

cborutil: remove readindefinitebytestringtoiter()
ClosedPublic

Authored by indygreg on Aug 31 2018, 6:57 PM.

Details

Summary

This was implemented as part of implementing streaming encoding.
It was never used outside of tests.

Now that we have a full CBOR decoder, it can be used for incremental
decoding of indefinite-length byte strings.

This also removes the last use of the vendored cbor2 package from this
module.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Aug 31 2018, 6:57 PM
This revision was automatically updated to reflect the committed changes.