aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-02-04 04:42:38 +0800
committerchriseth <c@ethdev.com>2016-02-10 00:07:04 +0800
commit13732aed12008e0c389b55a8ef435173a7448809 (patch)
treeea2dd23eb3dd6fe4f13f060bad665f4d1674360a /docs
parent29faf1b298030f23076e8322dafd87df2154b40f (diff)
downloaddexon-solidity-13732aed12008e0c389b55a8ef435173a7448809.tar.gz
dexon-solidity-13732aed12008e0c389b55a8ef435173a7448809.tar.zst
dexon-solidity-13732aed12008e0c389b55a8ef435173a7448809.zip
Documentation.
Diffstat (limited to 'docs')
-rw-r--r--docs/types.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst
index 9811df69..27ab82ff 100644
--- a/docs/types.rst
+++ b/docs/types.rst
@@ -110,6 +110,11 @@ Operators:
* Comparisons: `<=`, `<`, `==`, `!=`, `>=`, `>` (evaluate to `bool`)
* Bit operators: `&`, `|`, `^` (bitwise exclusive or), `~` (bitwise negation)
+* Index access: If `x` is of type `bytesI`, then `x[k]` for `0 <= k < I` returns the `k` th byte (read-only).
+
+Members:
+
+* `.length` yields the fixed length of the byte array (read-only).
Dynamically-sized byte array
----------------------------