Disable the type byte

This commit is contained in:
Alex Beregszaszi
2020-12-14 19:18:25 +00:00
parent 271a17d908
commit 15237c8404
8 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ Local Solidity variables are available for assignments, for example:
.. warning::
If you access variables of a type that spans less than 256 bits
(for example ``uint64``, ``address``, ``bytes16`` or ``byte``),
(for example ``uint64``, ``address``, or ``bytes16``),
you cannot make any assumptions about bits not part of the
encoding of the type. Especially, do not assume them to be zero.
To be safe, always clear the data properly before you use it