Ethereum: Supports the reliability of non-cultivation 8-bit types of whole numbers?
As the developer builds a blockchain and an intelligent Ethereum contractual platform, understanding basic architecture is of key importance for ensuring interaction without ecosystem problems. In this article, we immerse whether reliability provides any types that are not more of 8 bits, focusing mainly on its types of total types.
Basics of reliability
Before immersing the types of whole numbers, it is necessary to read the foundations of the fort. The language has been designed to be brief and efficient, with particular emphasis on easy use, not to optimize raw output. It supports different types of data, including whole numbers that are decisive in intelligent contracts that represent numbers.
Types of total reliability
Solidity Ethereum provides several types of total numbers:
Uint8
,uint16
,uint32
” ‘-REPlay, will present, 8-bit, 16-bit, 32-bit and 64-bit.
U8
,u16
,u32
iu64
are types of alias for the appropriate types ‘uint’ with smaller bits (1 byte vs 4 bytes, 2 words vs 8 words, etc.).
not multimulmultiple 8 bits
While reliability supports some total types that may not have multiple 8 bits, none of these types meets the requirements of the middle type. Indirect types are usually used to represent results or indirect values that should be converted between different types of data.
One example that may seem interesting is the Uint10. However, it should be understood that the “Uint10” is simply an abbreviation for representing 10-bit whole numbers in the “Uint” type, which does not provide any significant differences in relation to other types of units. In practice, the use of “Uint10” would not be able to introduce any further performance or requirements.
Why no NEKULTIVLES 8 bits
In the strength there are types of whole numbers that are not a multiple of 8 bits (for example, “Uint9,
U7etc.), they are simply alias for the appropriate type "Uint" with a smaller bit size. This means that they do not provide any other features or enhancements that go beyond what is already available in other types of whole numbers.
application
To sum up, reliability provides different total types that support 8-bit data, but none of them meets the requirements for medium types. All 8 times the bits (such as the "Uint10) serve as an alias for existing types of whole numbers and does not provide any additional benefits or performance requirements.
Based on the Blockchain platform and the EThereum smart platform, you need to know the Solidge data limitations and properly design the code. This ensures integration without ecosystem problems and minimizes potential problems or errors that may result from incorrect use of whole numbers.