By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,255 Members | 2,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,255 IT Pros & Developers. It's quick & easy.

How do you convert a 4 bit word to big endian?

P: 1
Hello guys, i have a 6 bit word, in which the first and second byte are supposed to be 0, and the last 4 bytes contain information. How do you make these last four bytes in big endian? Here is my output at the moment, i just have to add another line with the endian done (total of 48 bits).
This is not an int i have selected. It is the result of packing the information from a JSON file

Jul 9 '19 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.