Merge pull request #382 from chriseth/bytesIndex

Index access for bytesXX.
This commit is contained in:
chriseth
2016-02-11 14:09:53 +01:00
7 changed files with 104 additions and 0 deletions
+5
View File
@@ -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
----------------------------