META-INF/MANIFEST.MF
META-INF/
META-INF/LICENSE
META-INF/maven/
META-INF/maven/com.fasterxml.jackson.dataformat/
META-INF/maven/com.fasterxml.jackson.dataformat/jackson-dataformat-cbor/
META-INF/maven/com.fasterxml.jackson.dataformat/jackson-dataformat-cbor/pom.properties
META-INF/maven/com.fasterxml.jackson.dataformat/jackson-dataformat-cbor/pom.xml
META-INF/services/
META-INF/services/com.fasterxml.jackson.core.JsonFactory
com/
com/fasterxml/
com/fasterxml/jackson/
com/fasterxml/jackson/dataformat/
com/fasterxml/jackson/dataformat/cbor/
com/fasterxml/jackson/dataformat/cbor/CBORConstants.classCBORConstants.java
package com.fasterxml.jackson.dataformat.cbor
public final com.fasterxml.jackson.dataformat.cbor.CBORConstants extends java.lang.Object {
public static final int MAJOR_TYPE_INT_POS
public static final int MAJOR_TYPE_INT_NEG
public static final int MAJOR_TYPE_BYTES
public static final int MAJOR_TYPE_TEXT
public static final int MAJOR_TYPE_ARRAY
public static final int MAJOR_TYPE_OBJECT
public static final int MAJOR_TYPE_TAG
public static final int MAJOR_TYPE_MISC
public static final int PREFIX_TYPE_INT_POS
public static final int PREFIX_TYPE_INT_NEG
public static final int PREFIX_TYPE_BYTES
public static final int PREFIX_TYPE_TEXT
public static final int PREFIX_TYPE_ARRAY
public static final int PREFIX_TYPE_OBJECT
public static final int PREFIX_TYPE_TAG
public static final int PREFIX_TYPE_MISC
public static final int SUFFIX_INDEFINITE
public static final int MASK_MAJOR_TYPE
public static final int TAG_ID_SELF_DESCRIBE
public static final byte BYTE_ARRAY_INDEFINITE
public static final byte BYTE_OBJECT_INDEFINITE
public static final byte BYTE_ARRAY_2_ELEMENTS
public static final byte BYTE_FALSE
public static final byte BYTE_TRUE
public static final byte BYTE_NULL
public static final byte BYTE_EMPTY_STRING
public static final byte BYTE_STRING_INDEFINITE
public static final byte BYTE_STRING_1BYTE_LEN
public static final byte BYTE_STRING_2BYTE_LEN
public static final byte BYTE_FLOAT16
public static final byte BYTE_FLOAT32
public static final byte BYTE_FLOAT64
public static final byte BYTE_TAG_BIGNUM_POS
public static final byte BYTE_TAG_BIGNUM_NEG
public static final byte BYTE_TAG_DECIMAL_FRACTION
public static final byte BYTE_TAG_BIGFLOAT
public static final byte BYTE_BREAK
public static final int INT_BREAK
public static final int[] sUtf8UnitLengths
public void ()
public static boolean hasMajorType (int, byte)
int expType
byte encoded
int actual
static void ()
int code
int code
int code
int code
int c
int[] table
}
com/fasterxml/jackson/dataformat/cbor/CBORFactory.classCBORFactory.java
package com.fasterxml.jackson.dataformat.cbor
public com.fasterxml.jackson.dataformat.cbor.CBORFactory extends com.fasterxml.jackson.core.JsonFactory {
private static final long serialVersionUID
public static final String FORMAT_NAME
static final int DEFAULT_CBOR_PARSER_FEATURE_FLAGS
static final int DEFAULT_CBOR_GENERATOR_FEATURE_FLAGS
protected int _formatParserFeatures
protected int _formatGeneratorFeatures
public void ()
public void (com.fasterxml.jackson.core.ObjectCodec)
com.fasterxml.jackson.core.ObjectCodec oc
public void (com.fasterxml.jackson.dataformat.cbor.CBORFactory, com.fasterxml.jackson.core.ObjectCodec)
com.fasterxml.jackson.dataformat.cbor.CBORFactory src
com.fasterxml.jackson.core.ObjectCodec oc
public com.fasterxml.jackson.dataformat.cbor.CBORFactory copy ()
protected java.lang.Object readResolve ()
public com.fasterxml.jackson.core.Version version ()
public java.lang.String getFormatName ()
public com.fasterxml.jackson.core.format.MatchStrength hasFormat (com.fasterxml.jackson.core.format.InputAccessor) throws java.io.IOException
com.fasterxml.jackson.core.format.InputAccessor acc
public boolean canHandleBinaryNatively ()
public java.lang.Class getFormatReadFeatureType ()
public java.lang.Class getFormatWriteFeatureType ()
public final com.fasterxml.jackson.dataformat.cbor.CBORFactory configure (com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature, boolean)
com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature f
boolean state
public com.fasterxml.jackson.dataformat.cbor.CBORFactory enable (com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature f
public com.fasterxml.jackson.dataformat.cbor.CBORFactory disable (com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature f
public final boolean isEnabled (com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature f
public final com.fasterxml.jackson.dataformat.cbor.CBORFactory configure (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature, boolean)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
boolean state
public com.fasterxml.jackson.dataformat.cbor.CBORFactory enable (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
public com.fasterxml.jackson.dataformat.cbor.CBORFactory disable (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
public final boolean isEnabled (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
public com.fasterxml.jackson.dataformat.cbor.CBORParser createParser (java.io.File) throws java.io.IOException
java.io.File f
public com.fasterxml.jackson.dataformat.cbor.CBORParser createParser (java.net.URL) throws java.io.IOException
java.net.URL url
public com.fasterxml.jackson.dataformat.cbor.CBORParser createParser (java.io.InputStream) throws java.io.IOException
java.io.InputStream in
public com.fasterxml.jackson.dataformat.cbor.CBORParser createParser (byte[]) throws java.io.IOException
byte[] data
public com.fasterxml.jackson.dataformat.cbor.CBORParser createParser (byte[], int, int) throws java.io.IOException
byte[] data
int offset
int len
public com.fasterxml.jackson.dataformat.cbor.CBORGenerator createGenerator (java.io.OutputStream, com.fasterxml.jackson.core.JsonEncoding) throws java.io.IOException
java.io.OutputStream out
com.fasterxml.jackson.core.JsonEncoding enc
public com.fasterxml.jackson.dataformat.cbor.CBORGenerator createGenerator (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
protected com.fasterxml.jackson.core.io.IOContext _createContext (java.lang.Object, boolean)
Object srcRef
boolean resourceManaged
protected com.fasterxml.jackson.dataformat.cbor.CBORParser _createParser (java.io.InputStream, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.InputStream in
com.fasterxml.jackson.core.io.IOContext ctxt
protected com.fasterxml.jackson.core.JsonParser _createParser (java.io.Reader, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.Reader r
com.fasterxml.jackson.core.io.IOContext ctxt
protected com.fasterxml.jackson.core.JsonParser _createParser (char[], int, int, com.fasterxml.jackson.core.io.IOContext, boolean) throws java.io.IOException
char[] data
int offset
int len
com.fasterxml.jackson.core.io.IOContext ctxt
boolean recyclable
protected com.fasterxml.jackson.dataformat.cbor.CBORParser _createParser (byte[], int, int, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
byte[] data
int offset
int len
com.fasterxml.jackson.core.io.IOContext ctxt
protected com.fasterxml.jackson.dataformat.cbor.CBORGenerator _createGenerator (java.io.Writer, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.Writer out
com.fasterxml.jackson.core.io.IOContext ctxt
protected com.fasterxml.jackson.dataformat.cbor.CBORGenerator _createUTF8Generator (java.io.OutputStream, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.OutputStream out
com.fasterxml.jackson.core.io.IOContext ctxt
protected java.io.Writer _createWriter (java.io.OutputStream, com.fasterxml.jackson.core.JsonEncoding, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.OutputStream out
com.fasterxml.jackson.core.JsonEncoding enc
com.fasterxml.jackson.core.io.IOContext ctxt
private final com.fasterxml.jackson.dataformat.cbor.CBORGenerator _createCBORGenerator (com.fasterxml.jackson.core.io.IOContext, int, int, com.fasterxml.jackson.core.ObjectCodec, java.io.OutputStream) throws java.io.IOException
com.fasterxml.jackson.core.io.IOContext ctxt
int stdFeat
int formatFeat
com.fasterxml.jackson.core.ObjectCodec codec
java.io.OutputStream out
com.fasterxml.jackson.dataformat.cbor.CBORGenerator gen
protected java.lang.Object _nonByteTarget ()
protected java.lang.Object _nonByteSource ()
protected volatile com.fasterxml.jackson.core.JsonGenerator _createUTF8Generator (java.io.OutputStream, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.OutputStream x0
com.fasterxml.jackson.core.io.IOContext x1
protected volatile com.fasterxml.jackson.core.JsonGenerator _createGenerator (java.io.Writer, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.Writer x0
com.fasterxml.jackson.core.io.IOContext x1
protected volatile com.fasterxml.jackson.core.JsonParser _createParser (byte[], int, int, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
byte[] x0
int x1
int x2
com.fasterxml.jackson.core.io.IOContext x3
protected volatile com.fasterxml.jackson.core.JsonParser _createParser (java.io.InputStream, com.fasterxml.jackson.core.io.IOContext) throws java.io.IOException
java.io.InputStream x0
com.fasterxml.jackson.core.io.IOContext x1
public volatile com.fasterxml.jackson.core.JsonGenerator createGenerator (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream x0
public volatile com.fasterxml.jackson.core.JsonGenerator createGenerator (java.io.OutputStream, com.fasterxml.jackson.core.JsonEncoding) throws java.io.IOException
java.io.OutputStream x0
com.fasterxml.jackson.core.JsonEncoding x1
public volatile com.fasterxml.jackson.core.JsonParser createParser (byte[], int, int) throws java.io.IOException com.fasterxml.jackson.core.JsonParseException
byte[] x0
int x1
int x2
public volatile com.fasterxml.jackson.core.JsonParser createParser (byte[]) throws java.io.IOException com.fasterxml.jackson.core.JsonParseException
byte[] x0
public volatile com.fasterxml.jackson.core.JsonParser createParser (java.io.InputStream) throws java.io.IOException com.fasterxml.jackson.core.JsonParseException
java.io.InputStream x0
public volatile com.fasterxml.jackson.core.JsonParser createParser (java.net.URL) throws java.io.IOException com.fasterxml.jackson.core.JsonParseException
java.net.URL x0
public volatile com.fasterxml.jackson.core.JsonParser createParser (java.io.File) throws java.io.IOException com.fasterxml.jackson.core.JsonParseException
java.io.File x0
public volatile com.fasterxml.jackson.core.JsonFactory copy ()
static void ()
}
com/fasterxml/jackson/dataformat/cbor/CBORGenerator$Feature.classCBORGenerator.java
package com.fasterxml.jackson.dataformat.cbor
public final com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature extends java.lang.Enum implements com.fasterxml.jackson.core.FormatFeature {
public static final com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature WRITE_MINIMAL_INTS
public static final com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature WRITE_TYPE_HEADER
protected final boolean _defaultState
protected final int _mask
private static final com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature[] $VALUES
public static com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature[] values ()
public static com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature valueOf (java.lang.String)
String name
public static int collectDefaults ()
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature[] arr$
int len$
int i$
int flags
private void (java.lang.String, int, boolean)
boolean defaultState
public boolean enabledByDefault ()
public boolean enabledIn (int)
int flags
public int getMask ()
static void ()
}
com/fasterxml/jackson/dataformat/cbor/CBORGenerator.classCBORGenerator.java
package com.fasterxml.jackson.dataformat.cbor
public com.fasterxml.jackson.dataformat.cbor.CBORGenerator extends com.fasterxml.jackson.core.base.GeneratorBase {
static final int BYTE_BUFFER_FOR_OUTPUT
private static final int MAX_LONG_STRING_CHARS
private static final int MAX_LONG_STRING_BYTES
private static final int MIN_BUFFER_LENGTH
private static final long MIN_INT_AS_LONG
private static final long MAX_INT_AS_LONG
protected final com.fasterxml.jackson.core.io.IOContext _ioContext
protected final java.io.OutputStream _out
protected int _formatFeatures
protected boolean _cfgMinimalInts
protected byte[] _outputBuffer
protected int _outputTail
protected final int _outputEnd
protected char[] _charBuffer
protected final int _charBufferLength
protected int _bytesWritten
protected boolean _bufferRecyclable
private static final int MAX_SHORT_STRING_CHARS
private static final int MAX_SHORT_STRING_BYTES
private static final int MAX_MEDIUM_STRING_CHARS
private static final int MAX_MEDIUM_STRING_BYTES
public void (com.fasterxml.jackson.core.io.IOContext, int, int, com.fasterxml.jackson.core.ObjectCodec, java.io.OutputStream)
com.fasterxml.jackson.core.io.IOContext ctxt
int jsonFeatures
int formatFeatures
com.fasterxml.jackson.core.ObjectCodec codec
java.io.OutputStream out
public void (com.fasterxml.jackson.core.io.IOContext, int, int, com.fasterxml.jackson.core.ObjectCodec, java.io.OutputStream, byte[], int, boolean)
com.fasterxml.jackson.core.io.IOContext ctxt
int jsonFeatures
int formatFeatures
com.fasterxml.jackson.core.ObjectCodec codec
java.io.OutputStream out
byte[] outputBuffer
int offset
boolean bufferRecyclable
public com.fasterxml.jackson.core.Version version ()
public boolean canWriteBinaryNatively ()
public com.fasterxml.jackson.core.JsonGenerator useDefaultPrettyPrinter ()
public com.fasterxml.jackson.core.JsonGenerator setPrettyPrinter (com.fasterxml.jackson.core.PrettyPrinter)
com.fasterxml.jackson.core.PrettyPrinter pp
public java.lang.Object getOutputTarget ()
public int getOutputBuffered ()
public int getFormatFeatures ()
public com.fasterxml.jackson.core.JsonGenerator overrideFormatFeatures (int, int)
int values
int mask
public final void writeFieldName (java.lang.String) throws java.io.IOException
String name
public final void writeFieldName (com.fasterxml.jackson.core.SerializableString) throws java.io.IOException
com.fasterxml.jackson.core.SerializableString name
byte[] raw
int len
public final void writeStringField (java.lang.String, java.lang.String) throws java.io.IOException
String fieldName
String value
public com.fasterxml.jackson.dataformat.cbor.CBORGenerator enable (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
public com.fasterxml.jackson.dataformat.cbor.CBORGenerator disable (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
public final boolean isEnabled (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
public com.fasterxml.jackson.dataformat.cbor.CBORGenerator configure (com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature, boolean)
com.fasterxml.jackson.dataformat.cbor.CBORGenerator$Feature f
boolean state
public void writeTag (int) throws java.io.IOException
int tagId
public void writeRaw (byte) throws java.io.IOException
byte b
public void writeBytes (byte[], int, int) throws java.io.IOException
byte[] data
int offset
int len
public final void writeStartArray () throws java.io.IOException
public void writeStartArray (int) throws java.io.IOException
int size
public final void writeEndArray () throws java.io.IOException
public final void writeStartObject () throws java.io.IOException
public final void writeEndObject () throws java.io.IOException
public void writeString (java.lang.String) throws java.io.IOException com.fasterxml.jackson.core.JsonGenerationException
String text
public final void writeString (com.fasterxml.jackson.core.SerializableString) throws java.io.IOException
com.fasterxml.jackson.core.SerializableString sstr
byte[] raw
int len
public void writeString (char[], int, int) throws java.io.IOException
char[] text
int offset
int len
public void writeRawUTF8String (byte[], int, int) throws java.io.IOException
byte[] raw
int offset
int len
public final void writeUTF8String (byte[], int, int) throws java.io.IOException
byte[] text
int offset
int len
public void writeRaw (java.lang.String) throws java.io.IOException
String text
public void writeRaw (java.lang.String, int, int) throws java.io.IOException
String text
int offset
int len
public void writeRaw (char[], int, int) throws java.io.IOException
char[] text
int offset
int len
public void writeRaw (char) throws java.io.IOException
char c
public void writeRawValue (java.lang.String) throws java.io.IOException
String text
public void writeRawValue (java.lang.String, int, int) throws java.io.IOException
String text
int offset
int len
public void writeRawValue (char[], int, int) throws java.io.IOException
char[] text
int offset
int len
public void writeBinary (com.fasterxml.jackson.core.Base64Variant, byte[], int, int) throws java.io.IOException
com.fasterxml.jackson.core.Base64Variant b64variant
byte[] data
int offset
int len
public int writeBinary (java.io.InputStream, int) throws java.io.IOException
java.io.InputStream data
int dataLength
int missing
public int writeBinary (com.fasterxml.jackson.core.Base64Variant, java.io.InputStream, int) throws java.io.IOException
com.fasterxml.jackson.core.Base64Variant b64variant
java.io.InputStream data
int dataLength
public void writeBoolean (boolean) throws java.io.IOException
boolean state
public void writeNull () throws java.io.IOException
public void writeNumber (int) throws java.io.IOException
int marker
byte b0
int i
int marker
byte b0
public void writeNumber (long) throws java.io.IOException
long l
int i
public void writeNumber (java.math.BigInteger) throws java.io.IOException
java.math.BigInteger v
byte[] data
int len
public void writeNumber (double) throws java.io.IOException
double d
long l
int i
public void writeNumber (float) throws java.io.IOException
float f
int i
public void writeNumber (java.math.BigDecimal) throws java.io.IOException
int i
int v
int i
long v
int len
java.math.BigDecimal dec
int scale
java.math.BigInteger unscaled
byte[] data
public void writeNumber (java.lang.String) throws java.io.IOException com.fasterxml.jackson.core.JsonGenerationException java.lang.UnsupportedOperationException
String encodedValue
protected final void _verifyValueWrite (java.lang.String) throws java.io.IOException
String typeMsg
int status
public final void flush () throws java.io.IOException
public void close () throws java.io.IOException
com.fasterxml.jackson.core.JsonStreamContext ctxt
protected final void _writeString (java.lang.String) throws java.io.IOException
int actual
byte[] buf
int ix
String name
int len
char[] cbuf
protected final void _ensureSpace (int) throws java.io.IOException
int needed
protected final void _writeString (char[], int, int) throws java.io.IOException
int actual
byte[] buf
int ix
int actual
byte[] buf
int ix
int ix
int actual
byte[] buf
char[] text
int offset
int len
protected final void _writeChunkedString (char[], int, int) throws java.io.IOException
int ix
int actual
byte[] buf
char[] text
int offset
int len
private final int _encode (int, char[], int, int)
int c
int outputPtr
char[] str
int i
int end
byte[] outBuf
int outputStart
private final int _shortUTF8Encode2 (char[], int, int, int, int)
int c
char[] str
int i
int end
int outputPtr
int outputStart
byte[] outBuf
private final int _encode (int, java.lang.String, int)
int c
int i
int outputPtr
String str
int len
byte[] outBuf
int outputStart
private final int _encode2 (int, int, java.lang.String, int, int)
int c
int i
int outputPtr
String str
int len
int outputStart
byte[] outBuf
private int _convertSurrogate (int, int)
int firstPart
int secondPart
private void _throwIllegalSurrogate (int)
int code
private final void _ensureRoomForOutput (int) throws java.io.IOException
int needed
private final void _writeIntValue (int) throws java.io.IOException
int marker
int i
int marker
private final void _writeLongValue (long) throws java.io.IOException
long l
int i
private final void _writeLengthMarker (int, int) throws java.io.IOException
int majorType
int i
byte b0
private final void _writeByte (byte) throws java.io.IOException
byte b
private final void _writeBytes (byte[], int, int) throws java.io.IOException
byte[] data
int offset
int len
private final int _writeBytes (java.io.InputStream, int) throws java.io.IOException
int room
int count
java.io.InputStream in
int bytesLeft
private final void _writeBytesLong (byte[], int, int) throws java.io.IOException
int currLen
byte[] data
int offset
int len
protected void _releaseBuffers ()
byte[] buf
char[] cbuf
protected final void _flushBuffer () throws java.io.IOException
protected java.lang.UnsupportedOperationException _notSupported ()
}
com/fasterxml/jackson/dataformat/cbor/CBORParser$1.classCBORParser.java
package com.fasterxml.jackson.dataformat.cbor
com.fasterxml.jackson.dataformat.cbor.CBORParser$1 extends java.lang.Object {
static final int[] $SwitchMap$com$fasterxml$jackson$core$JsonToken
static void ()
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
NoSuchFieldError ex
}
com/fasterxml/jackson/dataformat/cbor/CBORParser$Feature.classCBORParser.java
package com.fasterxml.jackson.dataformat.cbor
public final com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature extends java.lang.Enum implements com.fasterxml.jackson.core.FormatFeature {
final boolean _defaultState
final int _mask
private static final com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature[] $VALUES
public static com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature[] values ()
public static com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature valueOf (java.lang.String)
String name
public static int collectDefaults ()
com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature f
com.fasterxml.jackson.dataformat.cbor.CBORParser$Feature[] arr$
int len$
int i$
int flags
private void (java.lang.String, int, boolean)
boolean defaultState
public boolean enabledByDefault ()
public int getMask ()
public boolean enabledIn (int)
int flags
static void ()
}
com/fasterxml/jackson/dataformat/cbor/CBORParser.classCBORParser.java
package com.fasterxml.jackson.dataformat.cbor
public final com.fasterxml.jackson.dataformat.cbor.CBORParser extends com.fasterxml.jackson.core.base.ParserMinimalBase {
private static final byte[] NO_BYTES
private static final java.nio.charset.Charset UTF8
private static final int[] NO_INTS
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
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 com.fasterxml.jackson.dataformat.cbor.CBORReadContext _parsingContext
protected final com.fasterxml.jackson.core.util.TextBuffer _textBuffer
protected char[] _nameCopyBuffer
protected boolean _nameCopied
protected com.fasterxml.jackson.core.util.ByteArrayBuilder _byteArrayBuilder
protected byte[] _binaryValue
protected int _tagValue
protected java.io.InputStream _inputStream
protected byte[] _inputBuffer
protected boolean _bufferRecyclable
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
protected static final int NR_UNKNOWN
protected static final int NR_INT
protected static final int NR_LONG
protected static final int NR_BIGINT
protected static final int NR_FLOAT
protected static final int NR_DOUBLE
protected static final int NR_BIGDECIMAL
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
static final long MIN_INT_L
static final long MAX_INT_L
static final double MIN_LONG_D
static final double MAX_LONG_D
static final double MIN_INT_D
static final double MAX_INT_D
protected static final int INT_0
protected static final int INT_9
protected static final int INT_MINUS
protected static final int INT_PLUS
protected static final char CHAR_NULL
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
public void (com.fasterxml.jackson.core.io.IOContext, int, int, com.fasterxml.jackson.core.ObjectCodec, com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer, java.io.InputStream, byte[], int, int, boolean)
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
com.fasterxml.jackson.core.json.DupDetector dups
public com.fasterxml.jackson.core.ObjectCodec getCodec ()
public void setCodec (com.fasterxml.jackson.core.ObjectCodec)
com.fasterxml.jackson.core.ObjectCodec c
public com.fasterxml.jackson.core.Version version ()
public int getFormatFeatures ()
public int getCurrentTag ()
public int releaseBuffered (java.io.OutputStream) throws java.io.IOException
java.io.OutputStream out
int count
int origPtr
public java.lang.Object getInputSource ()
public com.fasterxml.jackson.core.JsonLocation getTokenLocation ()
public com.fasterxml.jackson.core.JsonLocation getCurrentLocation ()
long offset
public java.lang.String getCurrentName () throws java.io.IOException
com.fasterxml.jackson.dataformat.cbor.CBORReadContext parent
public void overrideCurrentName (java.lang.String)
java.io.IOException e
String name
com.fasterxml.jackson.dataformat.cbor.CBORReadContext ctxt
public void close () throws java.io.IOException
public boolean isClosed ()
public com.fasterxml.jackson.dataformat.cbor.CBORReadContext getParsingContext ()
public boolean hasTextCharacters ()
protected void _releaseBuffers () throws java.io.IOException
byte[] buf
char[] buf
public com.fasterxml.jackson.core.JsonToken nextToken () throws java.io.IOException
int len
int len
int ch
int type
int lowBits
protected com.fasterxml.jackson.core.JsonToken _handleCBOREOF () throws java.io.IOException
protected java.lang.String _numberToName (int, boolean) throws java.io.IOException
int i
long l
int ch
boolean neg
int lowBits
int i
protected void _invalidToken (int) throws com.fasterxml.jackson.core.JsonParseException
int ch
public boolean nextFieldName (com.fasterxml.jackson.core.SerializableString) throws java.io.IOException
int i
int lenMarker
int ch
byte[] nameBytes
int byteLen
int ptr
com.fasterxml.jackson.core.SerializableString str
public java.lang.String nextFieldName () throws java.io.IOException
String name
String name
String name
int actualLen
int ch
int type
int lenMarker
String name
public java.lang.String nextTextValue () throws java.io.IOException
int len
int len
int ch
int type
int lowBits
public int nextIntValue (int) throws java.io.IOException
int defaultValue
public long nextLongValue (long) throws java.io.IOException
long defaultValue
public java.lang.Boolean nextBooleanValue () throws java.io.IOException
public java.lang.String getText () throws java.io.IOException
com.fasterxml.jackson.core.JsonToken t
public char[] getTextCharacters () throws java.io.IOException
public int getTextLength () throws java.io.IOException
public int getTextOffset () throws java.io.IOException
public java.lang.String getValueAsString () throws java.io.IOException
public java.lang.String getValueAsString (java.lang.String) throws java.io.IOException
String defaultValue
public byte[] getBinaryValue (com.fasterxml.jackson.core.Base64Variant) throws java.io.IOException
com.fasterxml.jackson.core.Base64Variant b64variant
public java.lang.Object getEmbeddedObject () throws java.io.IOException
public int readBinaryValue (com.fasterxml.jackson.core.Base64Variant, java.io.OutputStream) throws java.io.IOException
int len
com.fasterxml.jackson.core.Base64Variant b64variant
java.io.OutputStream out
int len
int total
private int _readAndWriteBytes (java.io.OutputStream, int) throws java.io.IOException
int avail
int count
java.io.OutputStream out
int total
int left
public java.lang.Number getNumberValue () throws java.io.IOException
public com.fasterxml.jackson.core.JsonParser$NumberType getNumberType () throws java.io.IOException
public int getIntValue () throws java.io.IOException
public long getLongValue () throws java.io.IOException
public java.math.BigInteger getBigIntegerValue () throws java.io.IOException
public float getFloatValue () throws java.io.IOException
public double getDoubleValue () throws java.io.IOException
public java.math.BigDecimal getDecimalValue () throws java.io.IOException
protected void _checkNumericValue (int) throws java.io.IOException
int expType
protected void convertNumberToInt () throws java.io.IOException
int result
protected void convertNumberToLong () throws java.io.IOException
protected void convertNumberToBigInteger () throws java.io.IOException
protected void convertNumberToFloat () throws java.io.IOException
protected void convertNumberToDouble () throws java.io.IOException
protected void convertNumberToBigDecimal () throws java.io.IOException
protected void reportOverflowInt () throws java.io.IOException
protected void reportOverflowLong () throws java.io.IOException
protected void _finishToken () throws java.io.IOException
int ch
int type
int len
protected java.lang.String _finishTextToken (int) throws java.io.IOException
int ch
int type
int len
private final java.lang.String _finishShortText (int) throws java.io.IOException
int len
char[] outBuf
int outPtr
int inPtr
byte[] inputBuf
int end
int i
int[] codes
private final void _finishLongText (int) throws java.io.IOException
int d
int c
int code
int len
char[] outBuf
int outPtr
int[] codes
int outEnd
private final void _finishChunkedText () throws java.io.IOException
int len
int end
int end
int d
int c
int code
char[] outBuf
int outPtr
int[] codes
int outEnd
byte[] input
private final int _nextByte () throws java.io.IOException
int ch
int inPtr
private final int _nextChunkedByte () throws java.io.IOException
int inPtr
int ch
private final int _nextChunkedByte2 () throws java.io.IOException
int end
int len
int end
protected byte[] _finishBytes (int) throws java.io.IOException
int toAdd
byte[] b
int ptr
int avail
int count
int ch
int type
int len
com.fasterxml.jackson.core.util.ByteArrayBuilder bb
protected final com.fasterxml.jackson.core.JsonToken _decodeFieldName () throws java.io.IOException
String name
String name
String name
int actualLen
int ch
int type
int lenMarker
String name
private final java.lang.String _decodeShortName (int) throws java.io.IOException
int i
int code
int i
int code
int len
int outPtr
char[] outBuf
int inPtr
int[] codes
byte[] inBuf
int end
private final java.lang.String _decodeLongerName (int) throws java.io.IOException
int len
String name
private final java.lang.String _decodeChunkedName () throws java.io.IOException
protected final void _decodeNonStringName (int) throws java.io.IOException
String name
String name
int blen
byte[] b
String name
int ch
int type
String name
private final java.lang.String _findDecodedFromSymbols (int) throws java.io.IOException
int inPtr
byte[] inBuf
int q
int q2
int left
int q3
int left
int len
byte[] inBuf
int inPtr
int q1
int q2
private final java.lang.String _findDecodedLong (int, int, int) throws java.io.IOException
int bufLen
int q
int q
int len
int q1
int q2
int offset
int inPtr
byte[] inBuf
private final java.lang.String _addDecodedToSymbols (int, java.lang.String)
int len
String name
int qlen
private static int[] _growArrayTo (int[], int)
int[] arr
int minSize
protected void _skipIncomplete () throws java.io.IOException
int type
int lowBits
protected void _skipChunked (int) throws java.io.IOException
int ch
int type
int lowBits
int expectedType
protected void _skipBytesL (long) throws java.io.IOException
long llen
protected void _skipBytes (int) throws java.io.IOException
int toAdd
int len
private final int _decodeTag (int) throws java.io.IOException
long l
int lowBits
private final int _decodeExplicitLength (int) throws java.io.IOException
long l
int lowBits
private int _decodeChunkLength (int) throws java.io.IOException
int expType
int ch
int type
int len
private float _decodeHalfSizeFloat () throws java.io.IOException
float result
int i16
boolean neg
int e
int f
float result
private final int _decode8Bits () throws java.io.IOException
private final int _decode16Bits () throws java.io.IOException
int ptr
byte[] b
int v
private final int _slow16 () throws java.io.IOException
int v
private final int _decode32Bits () throws java.io.IOException
int ptr
byte[] b
int v
private final int _slow32 () throws java.io.IOException
int v
private final long _decode64Bits () throws java.io.IOException
int ptr
byte[] b
int i1
int i2
private final long _slow64 () throws java.io.IOException
private static final long _long (int, int)
int i1
int i2
long l1
long l2
private final int _decodeUTF8_3 (int) throws java.io.IOException
int c1
int d
int c
private final int _decodeChunkedUTF8_3 (int) throws java.io.IOException
int c1
int d
int c
private final int _decodeUTF8_4 (int) throws java.io.IOException
int c
int d
private final int _decodeChunkedUTF8_4 (int) throws java.io.IOException
int c
int d
protected final boolean loadMore () throws java.io.IOException
int count
protected final void loadMoreGuaranteed () throws java.io.IOException
protected final void _loadToHaveAtLeast (int) throws java.io.IOException
int count
int minAvailable
int amount
protected com.fasterxml.jackson.core.util.ByteArrayBuilder _getByteArrayBuilder ()
protected void _closeInput () throws java.io.IOException
protected void _handleEOF () throws com.fasterxml.jackson.core.JsonParseException
protected void _reportUnexpectedBreak () throws java.io.IOException
protected void _reportInvalidChar (int) throws com.fasterxml.jackson.core.JsonParseException
int c
protected void _reportInvalidInitial (int) throws com.fasterxml.jackson.core.JsonParseException
int mask
protected void _reportInvalidOther (int) throws com.fasterxml.jackson.core.JsonParseException
int mask
protected void _reportInvalidOther (int, int) throws com.fasterxml.jackson.core.JsonParseException
int mask
int ptr
public volatile com.fasterxml.jackson.core.JsonStreamContext getParsingContext ()
static void ()
}
com/fasterxml/jackson/dataformat/cbor/CBORParserBootstrapper.classCBORParserBootstrapper.java
package com.fasterxml.jackson.dataformat.cbor
public com.fasterxml.jackson.dataformat.cbor.CBORParserBootstrapper extends java.lang.Object {
protected final com.fasterxml.jackson.core.io.IOContext _context
protected final java.io.InputStream _in
protected final byte[] _inputBuffer
protected int _inputPtr
protected int _inputEnd
protected final boolean _bufferRecyclable
protected int _inputProcessed
public void (com.fasterxml.jackson.core.io.IOContext, java.io.InputStream)
com.fasterxml.jackson.core.io.IOContext ctxt
java.io.InputStream in
public void (com.fasterxml.jackson.core.io.IOContext, byte[], int, int)
com.fasterxml.jackson.core.io.IOContext ctxt
byte[] inputBuffer
int inputStart
int inputLen
public com.fasterxml.jackson.dataformat.cbor.CBORParser constructParser (int, int, int, com.fasterxml.jackson.core.ObjectCodec, com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer) throws java.io.IOException com.fasterxml.jackson.core.JsonParseException
int factoryFeatures
int generalParserFeatures
int formatFeatures
com.fasterxml.jackson.core.ObjectCodec codec
com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols
com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer can
com.fasterxml.jackson.dataformat.cbor.CBORParser p
public static com.fasterxml.jackson.core.format.MatchStrength hasCBORFormat (com.fasterxml.jackson.core.format.InputAccessor) throws java.io.IOException
com.fasterxml.jackson.core.format.InputAccessor acc
byte b
protected boolean ensureLoaded (int) throws java.io.IOException
int count
int minimum
int gotten
}
com/fasterxml/jackson/dataformat/cbor/CBORReadContext.classCBORReadContext.java
package com.fasterxml.jackson.dataformat.cbor
public final com.fasterxml.jackson.dataformat.cbor.CBORReadContext extends com.fasterxml.jackson.core.JsonStreamContext {
protected final com.fasterxml.jackson.dataformat.cbor.CBORReadContext _parent
protected final com.fasterxml.jackson.core.json.DupDetector _dups
protected int _expEntryCount
protected String _currentName
protected com.fasterxml.jackson.dataformat.cbor.CBORReadContext _child
public void (com.fasterxml.jackson.dataformat.cbor.CBORReadContext, com.fasterxml.jackson.core.json.DupDetector, int, int)
com.fasterxml.jackson.dataformat.cbor.CBORReadContext parent
com.fasterxml.jackson.core.json.DupDetector dups
int type
int expEntryCount
protected void reset (int, int)
int type
int expEntryCount
public static com.fasterxml.jackson.dataformat.cbor.CBORReadContext createRootContext (com.fasterxml.jackson.core.json.DupDetector)
com.fasterxml.jackson.core.json.DupDetector dups
public com.fasterxml.jackson.dataformat.cbor.CBORReadContext createChildArrayContext (int)
int expEntryCount
com.fasterxml.jackson.dataformat.cbor.CBORReadContext ctxt
public com.fasterxml.jackson.dataformat.cbor.CBORReadContext createChildObjectContext (int)
int expEntryCount
com.fasterxml.jackson.dataformat.cbor.CBORReadContext ctxt
public java.lang.String getCurrentName ()
public com.fasterxml.jackson.dataformat.cbor.CBORReadContext getParent ()
public boolean hasExpectedLength ()
public int getExpectedLength ()
public boolean acceptsBreakMarker ()
public boolean expectMoreValues ()
public com.fasterxml.jackson.core.JsonLocation getStartLocation (java.lang.Object)
Object srcRef
public void setCurrentName (java.lang.String) throws com.fasterxml.jackson.core.JsonProcessingException
String name
private void _checkDup (com.fasterxml.jackson.core.json.DupDetector, java.lang.String) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.json.DupDetector dd
String name
public java.lang.String toString ()
StringBuilder sb
public volatile com.fasterxml.jackson.core.JsonStreamContext getParent ()
}
com/fasterxml/jackson/dataformat/cbor/PackageVersion.classPackageVersion.java
package com.fasterxml.jackson.dataformat.cbor
public final com.fasterxml.jackson.dataformat.cbor.PackageVersion extends java.lang.Object implements com.fasterxml.jackson.core.Versioned {
public static final com.fasterxml.jackson.core.Version VERSION
public void ()
public com.fasterxml.jackson.core.Version version ()
static void ()
}