Top Fields Constructors Methods
org.wildfly.common.iteration

pack-priv abstract Class Base32DecodingByteIterator

extends ByteIterator
Class Inheritance
Known Direct Subclasses
org.wildfly.common.iteration.BigEndianBase32DecodingByteIterator, org.wildfly.common.iteration.LittleEndianBase32DecodingByteIterator
Static Imports
org.wildfly.common._private.CommonMessages.msg

Field Summary

Modifier and TypeField and Description
private final CodePointIterator
private int
private int
private int
private int
private int
private int
private final boolean
private int
Inherited from org.wildfly.common.iteration.ByteIterator:
EMPTY

Constructor Summary

AccessConstructor and Description
pack-priv
Base32DecodingByteIterator(final CodePointIterator iter, final boolean requirePadding)

Method Summary

Modifier and TypeMethod and Description
pack-priv abstract int
calc0(int b0, int b1)

pack-priv abstract int
calc1(int b1, int b2, int b3)

pack-priv abstract int
calc2(int b3, int b4)

pack-priv abstract int
calc3(int b4, int b5, int b6)

pack-priv abstract int
calc4(int b6, int b7)

public long
public boolean
hasNext()

Implements abstract org.wildfly.common.iteration.ByteIterator.hasNext.

Implements org.wildfly.common.iteration.BiDirIntIterator.hasNext.

Determine if there are more bytes after the current byte.
public boolean
hasPrevious()

Implements abstract org.wildfly.common.iteration.ByteIterator.hasPrevious.

Implements org.wildfly.common.iteration.BiDirIntIterator.hasPrevious.

Determine if there are more bytes before the current byte.
public int
public int
peekNext()

Implements abstract org.wildfly.common.iteration.ByteIterator.peekNext.

Implements org.wildfly.common.iteration.BiDirIntIterator.peekNext.

Peek at the next byte without advancing.
public int
peekPrevious()

Implements abstract org.wildfly.common.iteration.ByteIterator.peekPrevious.

Implements org.wildfly.common.iteration.BiDirIntIterator.peekPrevious.

Peek at the previous byte without moving backwards.
public int
Inherited from org.wildfly.common.iteration.ByteIterator:
appendToasInputStreamasLatin1StringasUtf8Stringbase32Encodebase32Encodebase32Encodebase64Encodebase64Encodebase64EncodecontentEqualsdelimitedBydoFinaldoFinaldraindraindraindraindrainAlldrainTodrainToLatin1drainToUtf8getBE16getBE32getBE64getLE16getLE32getLE64getPackedBE32getPackedBE64hexEncodehexEncodeinterleavedWithinterleavedWithlimitedToofByteBufferofBytesofBytesofBytesofBytesofIteratorssignupdateupdateupdateverify

Field Detail

iterback to summary
private final CodePointIterator iter
o0back to summary
private int o0
o1back to summary
private int o1
o2back to summary
private int o2
o3back to summary
private int o3
o4back to summary
private int o4
offsetback to summary
private int offset
requirePaddingback to summary
private final boolean requirePadding
stateback to summary
private int state

Constructor Detail

Base32DecodingByteIteratorback to summary
pack-priv Base32DecodingByteIterator(final CodePointIterator iter, final boolean requirePadding)

Method Detail

calc0back to summary
pack-priv abstract int calc0(int b0, int b1)
calc1back to summary
pack-priv abstract int calc1(int b1, int b2, int b3)
calc2back to summary
pack-priv abstract int calc2(int b3, int b4)
calc3back to summary
pack-priv abstract int calc3(int b4, int b5, int b6)
calc4back to summary
pack-priv abstract int calc4(int b6, int b7)
getIndexback to summary
public long getIndex()

Implements abstract org.wildfly.common.iteration.ByteIterator.getIndex.

Implements org.wildfly.common.iteration.IndexIterator.getIndex.

Doc from org.wildfly.common.iteration.ByteIterator.getIndex.

Get the current offset, in bytes.

Returns:long

the byte offset

hasNextback to summary
public boolean hasNext()

Implements abstract org.wildfly.common.iteration.ByteIterator.hasNext.

Implements org.wildfly.common.iteration.BiDirIntIterator.hasNext.

Doc from org.wildfly.common.iteration.ByteIterator.hasNext.

Determine if there are more bytes after the current byte.

Returns:boolean

true if there are more bytes, false otherwise

hasPreviousback to summary
public boolean hasPrevious()

Implements abstract org.wildfly.common.iteration.ByteIterator.hasPrevious.

Implements org.wildfly.common.iteration.BiDirIntIterator.hasPrevious.

Doc from org.wildfly.common.iteration.ByteIterator.hasPrevious.

Determine if there are more bytes before the current byte.

Returns:boolean

true if there are more bytes, false otherwise

nextback to summary
public int next()

Implements abstract org.wildfly.common.iteration.ByteIterator.next.

Implements org.wildfly.common.iteration.BiDirIntIterator.next.

Doc from org.wildfly.common.iteration.ByteIterator.next.

Get the next byte.

Returns:int

the next byte

peekNextback to summary
public int peekNext() throws NoSuchElementException

Implements abstract org.wildfly.common.iteration.ByteIterator.peekNext.

Implements org.wildfly.common.iteration.BiDirIntIterator.peekNext.

Doc from org.wildfly.common.iteration.ByteIterator.peekNext.

Peek at the next byte without advancing.

Returns:int

the next byte

Exceptions
NoSuchElementException:
if hasNext() returns false
peekPreviousback to summary
public int peekPrevious() throws NoSuchElementException

Implements abstract org.wildfly.common.iteration.ByteIterator.peekPrevious.

Implements org.wildfly.common.iteration.BiDirIntIterator.peekPrevious.

Doc from org.wildfly.common.iteration.ByteIterator.peekPrevious.

Peek at the previous byte without moving backwards.

Returns:int

the previous byte

Exceptions
NoSuchElementException:
if hasPrevious() returns false
previousback to summary
public int previous()

Implements abstract org.wildfly.common.iteration.ByteIterator.previous.

Implements org.wildfly.common.iteration.BiDirIntIterator.previous.

Doc from org.wildfly.common.iteration.ByteIterator.previous.

Get the previous byte.

Returns:int

the previous byte