Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static ubyte[] getIntegerData(ulong i){
- auto size = getIntSize(i);
- ubyte[] ret;
- for(int x = 0; x < size; ++x){
- ret ~= cast(ubyte)i & 0xFF;
- i >>= 8;
- }
- return ret;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement