Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Expose number utility functions #3

Merged
merged 1 commit into from
Jun 9, 2018

Conversation

eddywm
Copy link
Contributor

@eddywm eddywm commented Jun 9, 2018

The idea is to make the utility functions used internally available to the users to facilitate number manipulations between Hex, BigInt, Bytes format, etc.

Instead of rewriting these already existing functions or load another external library, the existing functions are re-used on the user side.

@simolus3 simolus3 merged commit 1920651 into simolus3:master Jun 9, 2018
@simolus3
Copy link
Owner

simolus3 commented Jun 9, 2018

Good idea, thanks!

@simolus3
Copy link
Owner

I've created a new library file ("conversions.dart") exposing the internal numbers API. I believe this could be more helpful because we then don't expose some global functions that most users wouldn't need. Still, developers interested in it will be able to find it easily.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants