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() |
int |
nextBytes(byte[] array,
int off,
int len) |
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()
public int nextBytes(byte[] array,
int off,
int len)