We're updating the issue view to help you get more done. 

Expose "Bytes" utility in public API

Description

As a result of the 4.0 module organization, Bytes is in an internal package (native-protocol does not have a public API).

This is a pretty high-level utility and we reference it in some of our examples, so it would be better to have a public API version (that is checked for backward compatibility).

I think we can just create another Bytes class in a public package (maybe api.core.data?) and delegate all the methods.

Environment

None

Pull Requests

None

Status

Assignee

Olivier Michallat

Reporter

Olivier Michallat

Labels

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Fix versions

Priority

Minor