mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10130 from ethereum/docs-abi-encoding-interval-corrections
[docs] Interval corrections in ABI encoding spec
This commit is contained in:
commit
d190c4f1d4
@ -76,6 +76,9 @@ The following (fixed-size) array type exists:
|
||||
|
||||
- ``<type>[M]``: a fixed-length array of ``M`` elements, ``M >= 0``, of the given type.
|
||||
|
||||
.. note::
|
||||
While this ABI specification can express fixed-length arrays with zero elements, they're not supported by the compiler.
|
||||
|
||||
The following non-fixed-size types exist:
|
||||
|
||||
- ``bytes``: dynamic sized byte sequence.
|
||||
@ -108,7 +111,7 @@ them.
|
||||
+-------------------------------+-----------------------------------------------------------------------------+
|
||||
|:ref:`enum<enums>` |smallest ``uint`` type that is large enough to hold all values |
|
||||
| | |
|
||||
| |For example, an ``enum`` of 255 values or less is mapped to ``uint8`` and |
|
||||
| |For example, an ``enum`` of 256 values or less is mapped to ``uint8`` and |
|
||||
| |an ``enum`` of 256 values is mapped to ``uint16``. |
|
||||
+-------------------------------+-----------------------------------------------------------------------------+
|
||||
|:ref:`struct<structs>` |``tuple`` |
|
||||
|
Loading…
Reference in New Issue
Block a user