public class CBORParser
extends com.fasterxml.jackson.core.base.ParserMinimalBase
Modifier and Type | Class and Description |
---|---|
static class |
CBORParser.Feature
Enumeration that defines all togglable features for CBOR generators.
|
Modifier and Type | Field and Description |
---|---|
protected byte[] |
_binaryValue
We will hold on to decoded binary data, for duration of
current event, so that multiple calls to
getBinaryValue(com.fasterxml.jackson.core.Base64Variant) will not need to decode data more
than once. |
protected boolean |
_bufferRecyclable
Flag that indicates whether the input buffer is recycable (and
needs to be returned to recycler once we are done) or not.
|
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
_byteArrayBuilder
ByteArrayBuilder is needed if 'getBinaryValue' is called.
|
private int |
_chunkEnd
Helper variables used when dealing with chunked content.
|
private int |
_chunkLeft
Helper variables used when dealing with chunked content.
|
protected boolean |
_closed
Flag that indicates whether parser is closed or not.
|
protected long |
_currInputProcessed
Number of characters/bytes that were contained in previous blocks
(blocks that were already processed prior to the current buffer).
|
protected int |
_currInputRow
Current row location of current point in input buffer, starting
from 1, if available.
|
protected int |
_currInputRowStart
Current index of the first character of the current row in input
buffer.
|
protected byte[] |
_inputBuffer
Current buffer from which data is read; generally data is read into
buffer from input source, but in some cases pre-loaded buffer
is handed to the parser.
|
protected int |
_inputEnd
Index of character after last available one in the buffer.
|
protected int |
_inputPtr
Pointer to next available character in buffer
|
protected java.io.InputStream |
_inputStream
Input stream that can be used for reading more content, if one
in use.
|
protected com.fasterxml.jackson.core.io.IOContext |
_ioContext
I/O context for this reader.
|
protected boolean |
_nameCopied
Flag set to indicate whether the field name is available
from the name copy buffer or not (in addition to its String
representation being available via read context)
|
protected char[] |
_nameCopyBuffer
Temporary buffer that is needed if field name is accessed
using
getTextCharacters() method (instead of String
returning alternatives) |
protected java.math.BigDecimal |
_numberBigDecimal |
protected java.math.BigInteger |
_numberBigInt |
protected double |
_numberDouble |
protected float |
_numberFloat |
protected int |
_numberInt |
protected long |
_numberLong |
protected int |
_numTypesValid
Bitfield that indicates which numeric representations
have been calculated for the current type
|
protected com.fasterxml.jackson.core.ObjectCodec |
_objectCodec
Codec used for data binding when (if) requested.
|
protected CBORReadContext |
_parsingContext
Information about parser context, context in which
the next token is to be parsed (root, array, object).
|
protected int |
_quad1
Quads used for hash calculation
|
protected int |
_quad2
Quads used for hash calculation
|
protected int |
_quad3
Quads used for hash calculation
|
protected int[] |
_quadBuffer
Temporary buffer used for name parsing.
|
protected com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer |
_symbols
Symbol table that contains field names encountered so far
|
protected int |
_tagValue
We will keep track of tag value for possible future use.
|
protected com.fasterxml.jackson.core.util.TextBuffer |
_textBuffer
Buffer that contains contents of String values, including
field names if necessary (name split across boundary,
contains escape sequence, or access needed to char array)
|
protected boolean |
_tokenIncomplete
Flag that indicates that the current token has not yet
been fully processed, and needs to be finished for
some access (or skipped to obtain the next token)
|
protected int |
_tokenInputCol
Column on input row that current token starts; 0-based (although
in the end it'll be converted to 1-based)
|
protected int |
_tokenInputRow
Input row on which current token starts, 1-based
|
protected long |
_tokenInputTotal
Total number of bytes/characters read before start of current token.
|
protected int |
_typeByte
Type byte of the current token
|
(package private) static java.math.BigDecimal |
BD_MAX_INT |
(package private) static java.math.BigDecimal |
BD_MAX_LONG |
(package private) static java.math.BigDecimal |
BD_MIN_INT |
(package private) static java.math.BigDecimal |
BD_MIN_LONG |
(package private) static java.math.BigInteger |
BI_MAX_INT |
(package private) static java.math.BigInteger |
BI_MAX_LONG |
(package private) static java.math.BigInteger |
BI_MIN_INT |
(package private) static java.math.BigInteger |
BI_MIN_LONG |
private static java.math.BigInteger |
BIT_63 |
private static double |
MATH_POW_2_10 |
private static double |
MATH_POW_2_NEG14 |
private static java.nio.charset.Charset |
UTF8 |
private static int[] |
UTF8_UNIT_CODES |
_currToken, _lastClearedToken, CHAR_NULL, INT_0, INT_9, INT_APOS, INT_ASTERISK, INT_BACKSLASH, INT_COLON, INT_COMMA, INT_CR, INT_e, INT_E, INT_HASH, INT_LBRACKET, INT_LCURLY, INT_LF, INT_MINUS, INT_PERIOD, INT_PLUS, INT_QUOTE, INT_RBRACKET, INT_RCURLY, INT_SLASH, INT_SPACE, INT_TAB, MAX_ERROR_TOKEN_LENGTH, MAX_INT_D, MAX_INT_L, MAX_LONG_D, MIN_INT_D, MIN_INT_L, MIN_LONG_D, NO_BYTES, NO_INTS, NR_BIGDECIMAL, NR_BIGINT, NR_DOUBLE, NR_FLOAT, NR_INT, NR_LONG, NR_UNKNOWN
Constructor and Description |
---|
CBORParser(com.fasterxml.jackson.core.io.IOContext ctxt,
int parserFeatures,
int cborFeatures,
com.fasterxml.jackson.core.ObjectCodec codec,
com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym,
java.io.InputStream in,
byte[] inputBuffer,
int start,
int end,
boolean bufferRecyclable) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
_addDecodedToSymbols(int len,
java.lang.String name) |
private java.math.BigInteger |
_bigNegative(long l) |
private java.math.BigInteger |
_bigPositive(long l) |
protected void |
_checkNumericValue(int expType) |
protected void |
_closeInput() |
private int |
_decode16Bits() |
private int |
_decode32Bits() |
private long |
_decode64Bits() |
private int |
_decode8Bits() |
private java.lang.String |
_decodeChunkedName() |
private int |
_decodeChunkedUTF8_3(int c1) |
private int |
_decodeChunkedUTF8_4(int c) |
private int |
_decodeChunkLength(int expType) |
private int |
_decodeExplicitLength(int lowBits)
Method used to decode explicit length of a variable-length value
(or, for indefinite/chunked, indicate that one is not known).
|
protected com.fasterxml.jackson.core.JsonToken |
_decodeFieldName() |
private float |
_decodeHalfSizeFloat() |
private java.lang.String |
_decodeLongerName(int len) |
protected void |
_decodeNonStringName(int ch)
Method that handles initial token type recognition for token
that has to be either FIELD_NAME or END_OBJECT.
|
private java.lang.String |
_decodeShortName(int len) |
private int |
_decodeTag(int lowBits) |
protected com.fasterxml.jackson.core.JsonToken |
_decodeUndefinedValue()
Helper method to encapsulate details of handling of mysterious `undefined` value
that is allowed to be used as something encoder could not handle (as per spec),
whatever the heck that should be.
|
private int |
_decodeUTF8_3(int c1) |
private int |
_decodeUTF8_4(int c) |
private java.lang.String |
_findDecodedFromSymbols(int len) |
private java.lang.String |
_findDecodedLong(int len,
int q1,
int q2)
Method for locating names longer than 8 bytes (in UTF-8)
|
protected byte[] |
_finishBytes(int len) |
private void |
_finishChunkedText() |
private void |
_finishLongText(int len) |
private java.lang.String |
_finishShortText(int len) |
protected java.lang.String |
_finishTextToken(int ch) |
protected void |
_finishToken()
Method called to finish parsing of a token so that token contents
are retriable
|
protected com.fasterxml.jackson.core.util.ByteArrayBuilder |
_getByteArrayBuilder() |
private static int[] |
_growArrayTo(int[] arr,
int minSize) |
protected com.fasterxml.jackson.core.JsonToken |
_handleCBOREOF() |
protected void |
_handleEOF() |
protected com.fasterxml.jackson.core.JsonToken |
_handleTaggedArray(int tag,
int len) |
protected com.fasterxml.jackson.core.JsonToken |
_handleTaggedBinary(int tag) |
protected void |
_invalidToken(int ch) |
protected void |
_loadToHaveAtLeast(int minAvailable)
Helper method that will try to load at least specified number bytes in
input buffer, possible moving existing data around if necessary
|
private static long |
_long(int i1,
int i2) |
private int |
_nextByte() |
private int |
_nextChunkedByte() |
private int |
_nextChunkedByte2() |
protected java.lang.String |
_numberToName(int ch,
boolean neg) |
private int |
_readAndWriteBytes(java.io.OutputStream out,
int total) |
protected void |
_releaseBuffers()
Method called to release internal buffers owned by the base
reader.
|
protected void |
_reportInvalidChar(int c) |
protected void |
_reportInvalidInitial(int mask) |
protected void |
_reportInvalidOther(int mask) |
protected void |
_reportInvalidOther(int mask,
int ptr) |
protected void |
_reportUnexpectedBreak() |
protected void |
_skipBytes(int len) |
protected void |
_skipBytesL(long llen) |
protected void |
_skipChunked(int expectedType) |
protected void |
_skipIncomplete()
Method called to skip remainders of an incomplete token, when
contents themselves will not be needed any more.
|
private int |
_slow16() |
private int |
_slow32() |
private long |
_slow64() |
void |
close() |
protected void |
convertNumberToBigDecimal() |
protected void |
convertNumberToBigInteger() |
protected void |
convertNumberToDouble() |
protected void |
convertNumberToFloat() |
protected void |
convertNumberToInt() |
protected void |
convertNumberToLong() |
void |
finishToken()
Method for forcing full read of current token, even if it might otherwise
only be read if data is accessed via
getText() and similar methods. |
java.math.BigInteger |
getBigIntegerValue() |
byte[] |
getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) |
com.fasterxml.jackson.core.ObjectCodec |
getCodec() |
com.fasterxml.jackson.core.JsonLocation |
getCurrentLocation()
Overridden since we do not really have character-based locations,
but we do have byte offset to specify.
|
java.lang.String |
getCurrentName()
Method that can be called to get the name associated with
the current event.
|
int |
getCurrentTag()
Method that can be used to access tag id associated with
the most recently decoded value (whether completely, for
scalar values, or partially, for Objects/Arrays), if any.
|
java.math.BigDecimal |
getDecimalValue() |
double |
getDoubleValue() |
java.lang.Object |
getEmbeddedObject() |
float |
getFloatValue() |
int |
getFormatFeatures() |
java.lang.Object |
getInputSource() |
int |
getIntValue() |
long |
getLongValue() |
com.fasterxml.jackson.core.JsonParser.NumberType |
getNumberType() |
java.lang.Number |
getNumberValue() |
CBORReadContext |
getParsingContext() |
java.lang.String |
getText()
Method for accessing textual representation of the current event;
if no current event (before first call to
nextToken() , or
after encountering end-of-input), returns null. |
int |
getText(java.io.Writer writer) |
char[] |
getTextCharacters() |
int |
getTextLength() |
int |
getTextOffset() |
com.fasterxml.jackson.core.JsonLocation |
getTokenLocation()
Overridden since we do not really have character-based locations,
but we do have byte offset to specify.
|
java.lang.String |
getValueAsString() |
java.lang.String |
getValueAsString(java.lang.String defaultValue) |
boolean |
hasTextCharacters() |
boolean |
isClosed() |
boolean |
isNaN() |
protected boolean |
loadMore() |
protected void |
loadMoreGuaranteed() |
java.lang.Boolean |
nextBooleanValue() |
java.lang.String |
nextFieldName() |
boolean |
nextFieldName(com.fasterxml.jackson.core.SerializableString str) |
int |
nextIntValue(int defaultValue) |
long |
nextLongValue(long defaultValue) |
java.lang.String |
nextTextValue() |
com.fasterxml.jackson.core.JsonToken |
nextToken() |
void |
overrideCurrentName(java.lang.String name) |
int |
readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant,
java.io.OutputStream out) |
int |
releaseBuffered(java.io.OutputStream out) |
void |
setCodec(com.fasterxml.jackson.core.ObjectCodec c) |
com.fasterxml.jackson.core.Version |
version() |
_ascii, _asciiBytes, _constructError, _decodeBase64, _getCharDesc, _handleUnrecognizedCharacterEscape, _hasTextualNull, _longIntegerDesc, _longNumberDesc, _reportError, _reportError, _reportError, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOF, _reportInvalidEOFInValue, _reportInvalidEOFInValue, _reportMissingRootWS, _reportUnexpectedChar, _throwInternal, _throwInvalidSpace, _throwUnquotedSpace, _wrapError, clearCurrentToken, currentToken, currentTokenId, getCurrentToken, getCurrentTokenId, getLastClearedToken, getValueAsBoolean, getValueAsDouble, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsLong, hasCurrentToken, hasToken, hasTokenId, isExpectedStartArrayToken, isExpectedStartObjectToken, nextValue, reportInvalidNumber, reportOverflowInt, reportOverflowLong, reportUnexpectedNumberChar, skipChildren
_codec, _constructError, _reportUnsupportedOperation, canParseAsync, canReadObjectId, canReadTypeId, canUseSchema, configure, currentName, disable, enable, getBinaryValue, getBooleanValue, getByteValue, getCurrentValue, getFeatureMask, getNonBlockingInputFeeder, getObjectId, getSchema, getShortValue, getTypeId, getValueAsBoolean, getValueAsDouble, isEnabled, overrideFormatFeatures, overrideStdFeatures, readBinaryValue, readValueAs, readValueAs, readValueAsTree, readValuesAs, readValuesAs, releaseBuffered, requiresCustomCodec, setCurrentValue, setFeatureMask, setRequestPayloadOnError, setRequestPayloadOnError, setRequestPayloadOnError, setSchema
private static final java.nio.charset.Charset UTF8
private static final int[] UTF8_UNIT_CODES
private static final double MATH_POW_2_10
private static final double MATH_POW_2_NEG14
protected com.fasterxml.jackson.core.ObjectCodec _objectCodec
protected final com.fasterxml.jackson.core.io.IOContext _ioContext
protected boolean _closed
close()
) or when end-of-input is reached.protected int _inputPtr
protected int _inputEnd
protected long _currInputProcessed
protected int _currInputRow
protected int _currInputRowStart
protected long _tokenInputTotal
protected int _tokenInputRow
protected int _tokenInputCol
protected CBORReadContext _parsingContext
protected final com.fasterxml.jackson.core.util.TextBuffer _textBuffer
protected char[] _nameCopyBuffer
getTextCharacters()
method (instead of String
returning alternatives)protected boolean _nameCopied
protected com.fasterxml.jackson.core.util.ByteArrayBuilder _byteArrayBuilder
protected byte[] _binaryValue
getBinaryValue(com.fasterxml.jackson.core.Base64Variant)
will not need to decode data more
than once.protected int _tagValue
protected java.io.InputStream _inputStream
protected byte[] _inputBuffer
protected boolean _bufferRecyclable
If it is not, it also means that parser can NOT modify underlying buffer.
protected boolean _tokenIncomplete
protected int _typeByte
private int _chunkLeft
private int _chunkEnd
protected final com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer _symbols
protected int[] _quadBuffer
protected int _quad1
protected int _quad2
protected int _quad3
static final java.math.BigInteger BI_MIN_INT
static final java.math.BigInteger BI_MAX_INT
static final java.math.BigInteger BI_MIN_LONG
static final java.math.BigInteger BI_MAX_LONG
static final java.math.BigDecimal BD_MIN_LONG
static final java.math.BigDecimal BD_MAX_LONG
static final java.math.BigDecimal BD_MIN_INT
static final java.math.BigDecimal BD_MAX_INT
protected int _numTypesValid
protected int _numberInt
protected long _numberLong
protected float _numberFloat
protected double _numberDouble
protected java.math.BigInteger _numberBigInt
protected java.math.BigDecimal _numberBigDecimal
private static final java.math.BigInteger BIT_63
public CBORParser(com.fasterxml.jackson.core.io.IOContext ctxt, int parserFeatures, int cborFeatures, com.fasterxml.jackson.core.ObjectCodec codec, com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer sym, java.io.InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)
public com.fasterxml.jackson.core.ObjectCodec getCodec()
getCodec
in class com.fasterxml.jackson.core.JsonParser
public void setCodec(com.fasterxml.jackson.core.ObjectCodec c)
setCodec
in class com.fasterxml.jackson.core.JsonParser
public com.fasterxml.jackson.core.Version version()
version
in interface com.fasterxml.jackson.core.Versioned
version
in class com.fasterxml.jackson.core.JsonParser
public int getFormatFeatures()
getFormatFeatures
in class com.fasterxml.jackson.core.JsonParser
public int getCurrentTag()
public int releaseBuffered(java.io.OutputStream out) throws java.io.IOException
releaseBuffered
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public java.lang.Object getInputSource()
getInputSource
in class com.fasterxml.jackson.core.JsonParser
public com.fasterxml.jackson.core.JsonLocation getTokenLocation()
getTokenLocation
in class com.fasterxml.jackson.core.JsonParser
public com.fasterxml.jackson.core.JsonLocation getCurrentLocation()
getCurrentLocation
in class com.fasterxml.jackson.core.JsonParser
public java.lang.String getCurrentName() throws java.io.IOException
getCurrentName
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public void overrideCurrentName(java.lang.String name)
overrideCurrentName
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public boolean isClosed()
isClosed
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public CBORReadContext getParsingContext()
getParsingContext
in class com.fasterxml.jackson.core.base.ParserMinimalBase
public boolean hasTextCharacters()
hasTextCharacters
in class com.fasterxml.jackson.core.base.ParserMinimalBase
protected void _releaseBuffers() throws java.io.IOException
_closeInput()
(for
example, when explicitly closing this reader instance), or
separately (if need be).java.io.IOException
public com.fasterxml.jackson.core.JsonToken nextToken() throws java.io.IOException
nextToken
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
protected java.lang.String _numberToName(int ch, boolean neg) throws java.io.IOException
java.io.IOException
protected com.fasterxml.jackson.core.JsonToken _handleTaggedBinary(int tag) throws java.io.IOException
java.io.IOException
protected com.fasterxml.jackson.core.JsonToken _handleTaggedArray(int tag, int len) throws java.io.IOException
java.io.IOException
public void finishToken() throws java.io.IOException
getText()
and similar methods.finishToken
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public boolean nextFieldName(com.fasterxml.jackson.core.SerializableString str) throws java.io.IOException
nextFieldName
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public java.lang.String nextFieldName() throws java.io.IOException
nextFieldName
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public java.lang.String nextTextValue() throws java.io.IOException
nextTextValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public int nextIntValue(int defaultValue) throws java.io.IOException
nextIntValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public long nextLongValue(long defaultValue) throws java.io.IOException
nextLongValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public java.lang.Boolean nextBooleanValue() throws java.io.IOException
nextBooleanValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public java.lang.String getText() throws java.io.IOException
nextToken()
, or
after encountering end-of-input), returns null.
Method can be called for any event.getText
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public char[] getTextCharacters() throws java.io.IOException
getTextCharacters
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public int getTextLength() throws java.io.IOException
getTextLength
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public int getTextOffset() throws java.io.IOException
getTextOffset
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public java.lang.String getValueAsString() throws java.io.IOException
getValueAsString
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public java.lang.String getValueAsString(java.lang.String defaultValue) throws java.io.IOException
getValueAsString
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public int getText(java.io.Writer writer) throws java.io.IOException
getText
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public byte[] getBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant) throws java.io.IOException
getBinaryValue
in class com.fasterxml.jackson.core.base.ParserMinimalBase
java.io.IOException
public java.lang.Object getEmbeddedObject() throws java.io.IOException
getEmbeddedObject
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public int readBinaryValue(com.fasterxml.jackson.core.Base64Variant b64variant, java.io.OutputStream out) throws java.io.IOException
readBinaryValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
private int _readAndWriteBytes(java.io.OutputStream out, int total) throws java.io.IOException
java.io.IOException
public boolean isNaN()
isNaN
in class com.fasterxml.jackson.core.JsonParser
public java.lang.Number getNumberValue() throws java.io.IOException
getNumberValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public com.fasterxml.jackson.core.JsonParser.NumberType getNumberType() throws java.io.IOException
getNumberType
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public int getIntValue() throws java.io.IOException
getIntValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public long getLongValue() throws java.io.IOException
getLongValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public java.math.BigInteger getBigIntegerValue() throws java.io.IOException
getBigIntegerValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public float getFloatValue() throws java.io.IOException
getFloatValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public double getDoubleValue() throws java.io.IOException
getDoubleValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
public java.math.BigDecimal getDecimalValue() throws java.io.IOException
getDecimalValue
in class com.fasterxml.jackson.core.JsonParser
java.io.IOException
protected void _checkNumericValue(int expType) throws java.io.IOException
java.io.IOException
protected void convertNumberToInt() throws java.io.IOException
java.io.IOException
protected void convertNumberToLong() throws java.io.IOException
java.io.IOException
protected void convertNumberToBigInteger() throws java.io.IOException
java.io.IOException
protected void convertNumberToFloat() throws java.io.IOException
java.io.IOException
protected void convertNumberToDouble() throws java.io.IOException
java.io.IOException
protected void convertNumberToBigDecimal() throws java.io.IOException
java.io.IOException
protected void _finishToken() throws java.io.IOException
java.io.IOException
protected java.lang.String _finishTextToken(int ch) throws java.io.IOException
java.io.IOException
private final java.lang.String _finishShortText(int len) throws java.io.IOException
java.io.IOException
private final void _finishLongText(int len) throws java.io.IOException
java.io.IOException
private final void _finishChunkedText() throws java.io.IOException
java.io.IOException
private final int _nextByte() throws java.io.IOException
java.io.IOException
private final int _nextChunkedByte() throws java.io.IOException
java.io.IOException
private final int _nextChunkedByte2() throws java.io.IOException
java.io.IOException
protected byte[] _finishBytes(int len) throws java.io.IOException
java.io.IOException
protected final com.fasterxml.jackson.core.JsonToken _decodeFieldName() throws java.io.IOException
java.io.IOException
private final java.lang.String _decodeShortName(int len) throws java.io.IOException
java.io.IOException
private final java.lang.String _decodeLongerName(int len) throws java.io.IOException
java.io.IOException
private final java.lang.String _decodeChunkedName() throws java.io.IOException
java.io.IOException
protected final void _decodeNonStringName(int ch) throws java.io.IOException
java.io.IOException
private final java.lang.String _findDecodedFromSymbols(int len) throws java.io.IOException
java.io.IOException
private final java.lang.String _findDecodedLong(int len, int q1, int q2) throws java.io.IOException
java.io.IOException
private final java.lang.String _addDecodedToSymbols(int len, java.lang.String name)
private static int[] _growArrayTo(int[] arr, int minSize)
protected void _skipIncomplete() throws java.io.IOException
java.io.IOException
protected void _skipChunked(int expectedType) throws java.io.IOException
java.io.IOException
protected void _skipBytesL(long llen) throws java.io.IOException
java.io.IOException
protected void _skipBytes(int len) throws java.io.IOException
java.io.IOException
private final int _decodeTag(int lowBits) throws java.io.IOException
java.io.IOException
private final int _decodeExplicitLength(int lowBits) throws java.io.IOException
java.io.IOException
private int _decodeChunkLength(int expType) throws java.io.IOException
java.io.IOException
private float _decodeHalfSizeFloat() throws java.io.IOException
java.io.IOException
private final int _decode8Bits() throws java.io.IOException
java.io.IOException
private final int _decode16Bits() throws java.io.IOException
java.io.IOException
private final int _slow16() throws java.io.IOException
java.io.IOException
private final int _decode32Bits() throws java.io.IOException
java.io.IOException
private final int _slow32() throws java.io.IOException
java.io.IOException
private final long _decode64Bits() throws java.io.IOException
java.io.IOException
private final long _slow64() throws java.io.IOException
java.io.IOException
private static final long _long(int i1, int i2)
protected com.fasterxml.jackson.core.JsonToken _decodeUndefinedValue() throws java.io.IOException
JsonToken.VALUE_NULL
, but
for later versions it is likely that we will alternatively allow decoding as
JsonToken.VALUE_EMBEDDED_OBJECT
with "embedded value" of `null`.java.io.IOException
private final int _decodeUTF8_3(int c1) throws java.io.IOException
java.io.IOException
private final int _decodeChunkedUTF8_3(int c1) throws java.io.IOException
java.io.IOException
private final int _decodeUTF8_4(int c) throws java.io.IOException
java.io.IOException
private final int _decodeChunkedUTF8_4(int c) throws java.io.IOException
java.io.IOException
protected final boolean loadMore() throws java.io.IOException
java.io.IOException
protected final void loadMoreGuaranteed() throws java.io.IOException
java.io.IOException
protected final void _loadToHaveAtLeast(int minAvailable) throws java.io.IOException
java.io.IOException
protected com.fasterxml.jackson.core.util.ByteArrayBuilder _getByteArrayBuilder()
protected void _closeInput() throws java.io.IOException
java.io.IOException
protected void _handleEOF() throws com.fasterxml.jackson.core.JsonParseException
_handleEOF
in class com.fasterxml.jackson.core.base.ParserMinimalBase
com.fasterxml.jackson.core.JsonParseException
protected com.fasterxml.jackson.core.JsonToken _handleCBOREOF() throws java.io.IOException
java.io.IOException
protected void _invalidToken(int ch) throws com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.core.JsonParseException
protected void _reportUnexpectedBreak() throws java.io.IOException
java.io.IOException
protected void _reportInvalidChar(int c) throws com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.core.JsonParseException
protected void _reportInvalidInitial(int mask) throws com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.core.JsonParseException
protected void _reportInvalidOther(int mask) throws com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.core.JsonParseException
protected void _reportInvalidOther(int mask, int ptr) throws com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.core.JsonParseException
private final java.math.BigInteger _bigPositive(long l)
private final java.math.BigInteger _bigNegative(long l)