tuweni / org.apache.tuweni.bytes / Bytes / get

get

abstract fun get(i: Int): Byte (source)

Retrieve a byte in this value.

Parameters

i - Int: The index of the byte to fetch within the value (0-indexed).

Exceptions

IndexOutOfBoundsException - if i < 0 or {i >= size()}.

Return
Byte: The byte at index i in this value.