[C++] Converting Integer to a Byte Representation
- by bobber205
How can I convert a integer to it's byte representation. I want to take an integer and return a vector that has contains 1's and 0's of the integers byte representation.
I'm having a heck of a time trying to do this myself so I'd thought I would ask to see if there was a built in library function that could help.
Thanks!