Libraries anvil lang binary toInt

int toInt(width)
int toInt(width, offset)
Converts the contents of binary at given offset to integer of given byte width. If width is negative the byteorder is reversed. Maximum width is eight (8). If offset is omitted zero (0) is used instead.