public class ArrayByteIterable.Iterator extends ByteIterator
| Constructor and Description |
|---|
Iterator(int offset) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytesUnsafe() |
int |
getLength() |
int |
getOffset() |
boolean |
hasNext() |
byte |
next() |
long |
skip(long bytes)
Skips
bytes bytes. |
nextLongpublic boolean hasNext()
hasNext in class ByteIteratortrue if the iterator has more bytespublic byte next()
next in class ByteIteratorpublic long skip(long bytes)
ByteIteratorbytes bytes. Result is undefined for negative bytes.skip in class ByteIteratorbytes - bytes to skip.false).public byte[] getBytesUnsafe()
public int getLength()
public int getOffset()