18 |
|
|
19 |
#include "VecUtils.h" |
#include "VecUtils.h" |
20 |
|
|
21 |
|
namespace OxydLib { |
22 |
|
|
23 |
unsigned int getInt2(ByteVec::const_iterator it) |
unsigned int getInt2(ByteVec::const_iterator it) |
24 |
{ |
{ |
25 |
return (((unsigned int)(*it)) << 8) | |
return (((unsigned int)(*it)) << 8) | |
75 |
*(it + 2) = (unsigned char)((ii & 0x00ff0000) >> 16); |
*(it + 2) = (unsigned char)((ii & 0x00ff0000) >> 16); |
76 |
*(it + 3) = (unsigned char)((ii & 0xff000000) >> 24); |
*(it + 3) = (unsigned char)((ii & 0xff000000) >> 24); |
77 |
} |
} |
78 |
|
|
79 |
|
} |