![]() |
STX
1.0.0
|
Namespaces | |
option | |
result | |
Variables | |
constexpr int | kxPtrFmtSize = static_cast<int>((sizeof(void*) << 1) + 2 + 2) |
constexpr int | kI32FmtSize = 11 |
10 digits + 1 sign More... | |
constexpr int | kU32FmtSize = 10 |
10 digits More... | |
constexpr int | kI16FmtSize = 6 |
5 digits + 1 sign More... | |
constexpr int | kU16FmtSize = 5 |
5 digits More... | |
constexpr int | kI8FmtSize = 4 |
3 digits + 1 sign More... | |
constexpr int | kU8FmtSize = 3 |
3 digits More... | |
constexpr int stx::internal::kI16FmtSize = 6 |
5 digits + 1 sign
constexpr int stx::internal::kI32FmtSize = 11 |
10 digits + 1 sign
constexpr int stx::internal::kI8FmtSize = 4 |
3 digits + 1 sign
constexpr int stx::internal::kU16FmtSize = 5 |
5 digits
constexpr int stx::internal::kU32FmtSize = 10 |
10 digits
constexpr int stx::internal::kU8FmtSize = 3 |
3 digits
constexpr int stx::internal::kxPtrFmtSize = static_cast<int>((sizeof(void*) << 1) + 2 + 2) |
pointer hex formatting
0xaabbccdd => 4 bytes (+ 8 chars)
0xaa => 1 byte (+ 2 chars)
0xaabb => 2 bytes (+ 4 chars)
we leave 2 extra bytes for tolerance