Easypt

==

..Root.ByteView.==

Compares bytes of two byte views.

Child of:

ByteView

Signatures:

NativeCallable, Callable

Example:

import("memory");
import("algorithm");

auto a.=(ByteView("abcd"));
auto b.=(ByteView(1684234849));

log(a.==(b), "");

algorithm.forEach(a, {
    log(args[0].get().toInt());
});

log("");

algorithm.forEach(b, {
    log(args[0].get().toInt());
});

Expected output:

true

97
98
99
100

97
98
99
100