Interface ByteString.ByteIterator (3.19.4)

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
Type Description
byte

the next byte in the iteration