Type: strings

This commit is contained in:
Feiyang Tan
2021-04-08 15:21:33 +02:00
committed by chriseth
parent 6d6112a81b
commit e36337d74b
+2 -2
View File
@@ -136,8 +136,8 @@ a reference to it.
.. _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[]``,
but it is packed tightly in calldata and memory. ``string`` is equal to ``bytes`` but does not allow