diff options
author | chriseth <c@ethdev.com> | 2016-02-11 21:09:53 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-02-11 21:09:53 +0800 |
commit | c6c3c78327751db3e27458596394ce3533a7fcbc (patch) | |
tree | e0c59eb242bccfb3f2e6a3cf4066f406e923ca11 /docs | |
parent | 7b5d96c43bc4019d8f64951be64a1d702ee63e5d (diff) | |
parent | 13732aed12008e0c389b55a8ef435173a7448809 (diff) | |
download | dexon-solidity-c6c3c78327751db3e27458596394ce3533a7fcbc.tar.gz dexon-solidity-c6c3c78327751db3e27458596394ce3533a7fcbc.tar.zst dexon-solidity-c6c3c78327751db3e27458596394ce3533a7fcbc.zip |
Merge pull request #382 from chriseth/bytesIndex
Index access for bytesXX.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/types.rst | 5 |
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 ---------------------------- |