mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Type: strings
This commit is contained in:
parent
6d6112a81b
commit
e36337d74b
@ -136,8 +136,8 @@ a reference to it.
|
|||||||
|
|
||||||
.. _bytes:
|
.. _bytes:
|
||||||
|
|
||||||
``bytes`` and ``strings`` as Arrays
|
``bytes`` and ``string`` as Arrays
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Variables of type ``bytes`` and ``string`` are special arrays. A ``bytes`` is similar to ``byte[]``,
|
Variables of type ``bytes`` and ``string`` are special arrays. A ``bytes`` is similar to ``byte[]``,
|
||||||
but it is packed tightly in calldata and memory. ``string`` is equal to ``bytes`` but does not allow
|
but it is packed tightly in calldata and memory. ``string`` is equal to ``bytes`` but does not allow
|
||||||
|
Loading…
Reference in New Issue
Block a user