Advertisement
AnthonyCagliano

Untitled

Apr 2nd, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. size_t ctlen = strlen(str1);
  2.  
  3. uint8_t bitlen_be[8];
  4. bytelen_to_bitlen(ctlen, bitlen_be);
  5. sprintf(CEMU_CONSOLE, "testing _bytelen_to_bitlen\nbytelen: %u\nbitlen:\n", ctlen);
  6. hexdump(bitlen_be, 8, "-");
  7.  
  8. ###
  9.  
  10. output:
  11. bytelen: 33
  12. bitlen:
  13. -
  14. \x00\x00\x00\x00\x00\x00\x01\x08
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement