public interface TokenDecoder
AbstractTokenDecoder
rather than implementing
this interface directly.Modifier and Type | Method and Description |
---|---|
void |
decode(BinaryReader source,
boolean skip)
Decodes the encoding at the current position of the
reader and stores the value in the current target.
|
void |
decodeField(BinaryReader source,
int fieldIndex,
boolean skip)
Decodes the encoding at the current position of the
reader and stores the value in the current target.
|
void |
setTarget(TokenSettable buffer)
Designates the current target for decoding operations.
|
void setTarget(TokenSettable buffer)
buffer
- the target buffer into which to decode.void decode(BinaryReader source, boolean skip)
source
- the reader containing the encodingskip
- a value of true means decode the bytes but don't set on targetvoid decodeField(BinaryReader source, int fieldIndex, boolean skip)
source
- the reader containing the encodingfieldIndex
- the index of the field being decodedskip
- a value of true means decode the bytes but don't set on targetCopyright © 2020 Actian Corporation. All rights reserved.