Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- size_t ctlen = strlen(str1);
- uint8_t bitlen_be[8];
- bytelen_to_bitlen(ctlen, bitlen_be);
- sprintf(CEMU_CONSOLE, "testing _bytelen_to_bitlen\nbytelen: %u\nbitlen:\n", ctlen);
- hexdump(bitlen_be, 8, "-");
- ###
- output:
- bytelen: 33
- bitlen:
- -
- \x00\x00\x00\x00\x00\x00\x01\x08
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement