# | Line 6 | Line 6 | |
---|---|---|
6 | ||
7 | #include "Binary.hpp" | |
8 | ||
9 | + | #ifdef _WIN32 |
10 | + | #pragma warning(disable:4267) |
11 | + | #endif |
12 | + | |
13 | Binary::Binary(const ext::String& string, bool signed_) : bytes(string.GetSize() / 8, 0) | |
14 | { | |
15 | if (string.IsEmpty()) | |
# | Line 14 | Line 18 | Binary::Binary(const ext::String& string | |
18 | ||
19 | return; | |
20 | } | |
17 | – | // string.insert(0, 8 - off, signed_ && string[0] == '1' ? '1' : '0'); |
21 | ||
22 | size_t index(string.GetSize() % 8), offset(index); | |
23 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |