Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have related data-type converters in same namespace #1308

Open
aryzing opened this issue Jan 31, 2025 · 0 comments
Open

Have related data-type converters in same namespace #1308

aryzing opened this issue Jan 31, 2025 · 0 comments
Labels
Type: feature New feature or request

Comments

@aryzing
Copy link

aryzing commented Jan 31, 2025

Is your feature request related to a problem? Please describe.

Helpers for converting between a Uint8Array and its hex-encoded string representation should probably be within the same namespace. Currently, seems the only way to convert between the two formats is to use helpers in different namespaces:

Describe the solution you'd like

Possibly have hexToBytes() and bytesToHex() helpers both living in the encode namespace, although anything that makes them easier to find would be fine.

@aryzing aryzing added the Type: feature New feature or request label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant