| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteStringBuilder | appendTo(final ByteStringBuilder builder)
Overrides org. |
| public ByteIterator | |
| public ByteIterator | |
| public byte[] | drain()
Drain all the remaining bytes in this iterator.
|
| public int | drain(final byte[]
the buffer into which the data is drained dst, final int the start offset in array offs, final int dst at which the data is written.the maximum number of bytes to drain dlen)Overrides org. len bytes from this iterator into the given dst array.
|
| public ByteArrayOutputStream | drainTo(final ByteArrayOutputStream
the stream stream)Overrides org. |
| public String | drainToLatin1(final int
the maximum number of bytes to consume count)Overrides org. |
| public String | drainToUtf8(final int
the maximum number of bytes to consume count)Overrides org. |
| public long | getIndex()
Implements abstract org. Implements org. |
| public boolean | hasNext()
Implements abstract org. Implements org. |
| public boolean | hasPrevious()
Implements abstract org. Implements org. |
| public int | next()
Implements abstract org. Implements org. |
| public int | peekNext()
Implements abstract org. Implements org. |
| public int | peekPrevious()
Implements abstract org. Implements org. |
| public int | previous()
Implements abstract org. Implements org. |
| public void | |
| public void | |
| public void | |
| public boolean |
| bytes | back to summary |
|---|---|
| private final byte[] bytes | |
| idx | back to summary |
|---|---|
| private int idx | |
| len | back to summary |
|---|---|
| private final int len | |
| offs | back to summary |
|---|---|
| private final int offs | |
| ByteArrayIterator | back to summary |
|---|---|
| pack-priv ByteArrayIterator(final int len, final byte[] bytes, final int offs) | |
| appendTo | back to summary |
|---|---|
| public ByteStringBuilder appendTo(final ByteStringBuilder builder) Overrides org. | |
| doFinal | back to summary |
|---|---|
| public ByteIterator doFinal(final MessageDigest digest) throws IllegalStateException Overrides org. | |
| doFinal | back to summary |
|---|---|
| public ByteIterator doFinal(final Mac mac) throws IllegalStateException Overrides org. | |
| drain | back to summary |
|---|---|
| public byte[] drain() Overrides org. Doc from org. Drain all the remaining bytes in this iterator.
| |
| drain | back to summary |
|---|---|
| public int drain(final byte[] dst, final int offs, final int dlen) Overrides org. Doc from org. Drains up to
The number of bytes actually drained is returned as an integer. Unlike
| |
| drainTo | back to summary |
|---|---|
| public ByteArrayOutputStream drainTo(final ByteArrayOutputStream stream) Overrides org. Doc from org. Drain all the remaining bytes in this iterator to the given stream.
| |
| drainToLatin1 | back to summary |
|---|---|
| public String drainToLatin1(final int count) Overrides org. Doc from org. Convenience method to directly drain a certain number of bytes to a Latin-1 string. If fewer than
| |
| drainToUtf8 | back to summary |
|---|---|
| public String drainToUtf8(final int count) Overrides org. Doc from org. Convenience method to directly drain a certain number of bytes to a UTF-8 string. If fewer than
| |
| getIndex | back to summary |
|---|---|
| public long getIndex() Implements abstract org. Implements org. Doc from org. Get the current offset, in bytes.
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements abstract org. Implements org. Doc from org. Determine if there are more bytes after the current byte.
| |
| hasPrevious | back to summary |
|---|---|
| public boolean hasPrevious() Implements abstract org. Implements org. Doc from org. Determine if there are more bytes before the current byte.
| |
| next | back to summary |
|---|---|
| public int next() Implements abstract org. Implements org. Doc from org. Get the next byte.
| |
| peekNext | back to summary |
|---|---|
| public int peekNext() throws NoSuchElementException Implements abstract org. Implements org. Doc from org. Peek at the next byte without advancing.
| |
| peekPrevious | back to summary |
|---|---|
| public int peekPrevious() throws NoSuchElementException Implements abstract org. Implements org. Doc from org. Peek at the previous byte without moving backwards.
| |
| previous | back to summary |
|---|---|
| public int previous() Implements abstract org. Implements org. Doc from org. Get the previous byte.
| |
| update | back to summary |
|---|---|
| public void update(final MessageDigest digest) throws IllegalStateException | |
| update | back to summary |
|---|---|
| public void update(final Mac mac) throws IllegalStateException | |
| update | back to summary |
|---|---|
| public void update(final Signature signature) throws SignatureException | |
| verify | back to summary |
|---|---|
| public boolean verify(final Signature signature) throws SignatureException | |