ByteIterator
ByteIterator: ByteIterator, hasValue, value, increment, toList, iterator
struct ByteIterator: Copyable, Iterator<uint8>
Iterates over the bytes of a string.
ByteIterator
ByteIterator(string stream)Initializes an iterator over the given string.
hasValue
bool hasValue()Returns true if there are more bytes.
value
uint8 value()Returns the current byte.
increment
void increment()Advances to the next byte.
toList
List<uint8> toList()Collects the remaining bytes into a list.
iterator
ByteIterator iterator()Returns itself.