-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Added BytesToLong and LongToBytes #1079
Conversation
What you expected are |
@chengxuncc I'm not sure what you mean, can you elaborate? |
This translates between a decimal integer and a string, if that’s what you mean |
I believe it's useful to have a dedicated method for this, as opposed to a roundabout recipe with multiple blocks |
To add, this method using "To Base" and "From Hex" fails when the first byte is in the range 0x01 - 0x0f (only have 1 digit instead of 2). Example: Encoding: To Hex, From Base - CyberChef |
Hey! This pull request has gotten rather old and that's our fault. This project stopped being actively maintained for a while and it looks like your pull request has started to gather dust. Would you be able to update your branch to the latest version of CyberChef and we'll give it a review? |
Looks like GH permanently closed this while trying to rename my branch 🤔 I'll open a new PR |
Add a pair of functions to convert an array of bytes to a single long integer, and to do the reverse.