Easypt

ByteViewIterator

..Root.ByteViewIterator

Constructs a new ByteViewIterator, this constructor exists only for internal ByteView purposes. ByteViewIterator is not memory safe (not aware of ByteView size). For creating ByteViewIterator pointing to data use ByteView.begin() and ByteView.end().

ByteViewIterator type signatures:

Object, Iterator, ByteViewIterator

Child of:

Root

Signatures:

NativeCallable, Callable, Class

Members:

Example:

import("memory");

auto str.=("\122\123\124");
auto a.=(ByteView(str));

for (auto it.=(a.begin()).!=, a.end(), it.++, {
    log(it.get().toInt());
});

Expected output:

122
123
124