4 * Copyright (c) Freescale Semiconductor, Inc. All rights reserved.
5 * See included license file for license details.
10 using namespace elftosb;
12 //! Returns a varying size depending on the word size attribute.
14 size_t SizedIntegerValue::getSize() const
19 return sizeof(uint32_t);
21 return sizeof(uint16_t);
23 return sizeof(uint8_t);
28 //! The resulting mask can be used to truncate the integer value to be
29 //! certain it doesn't extend beyond the associated word size.
30 uint32_t SizedIntegerValue::getWordSizeMask() const