Interface ByteString.ByteIterator

Stay organized with collections Save and categorize content based on your preferences.
public static interface ByteString.ByteIterator extends Iterator<Byte>

This interface extends Iterator<Byte>, so that we can return an unboxed byte.

Implements

Iterator<Byte>

Methods

nextByte()

public abstract byte nextByte()

An alternative to Iterator#next() that returns an unboxed primitive byte.

Returns
TypeDescription
byte

the next byte in the iteration