We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, strings can't used in many useful ways within the language. The ability to convert a string to a [u8; N] might help.
[u8; N]
An example issue we're looking at is this: AztecProtocol/aztec-packages#885
let string = "hello"; let be_bytes = string.to_be_bytes(); let le_bytes = string.to_le_bytes();
(And maybe even the ability to convert back to a string would be nice?)
The text was updated successfully, but these errors were encountered:
str
as_bytes
into_bytes
Ethan-000
Successfully merging a pull request may close this issue.
Problem
Currently, strings can't used in many useful ways within the language. The ability to convert a string to a
[u8; N]
might help.An example issue we're looking at is this: AztecProtocol/aztec-packages#885
Happy Case
(And maybe even the ability to convert back to a string would be nice?)
The text was updated successfully, but these errors were encountered: