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

Add conversion aliasses #28

Closed
jacogr opened this issue Nov 29, 2017 · 2 comments
Closed

Add conversion aliasses #28

jacogr opened this issue Nov 29, 2017 · 2 comments

Comments

@jacogr
Copy link
Member

jacogr commented Nov 29, 2017

e.g. currently we have u8aFromBuffer, the equivalent bufferToU8a should be made available. An alias could look like the following:

const bufferToU8a = require('../u8a/fromBuffer');

module.exports = bufferToU8a;

(buffer, number, hex, u8a, ...)

@jacogr
Copy link
Member Author

jacogr commented Nov 30, 2017

Closed in #31

@jacogr jacogr closed this as completed Nov 30, 2017
@polkadot-js-bot
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants