| Modifier and Type | Field and Description |
|---|---|
| protected final boolean | _bufferRecyclable
Flag that indicates whether buffer above is to be recycled after being used or not. |
| protected final IOContext | |
| protected final InputStream | |
| protected final byte[] | |
| protected int | |
| protected int | _inputProcessed
Current number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer. |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CBORParser | constructParser(int factoryFeatures, int generalParserFeatures, int formatFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols)
|
| protected boolean | |
| public static MatchStrength |
| _bufferRecyclable | back to summary |
|---|---|
| protected final boolean _bufferRecyclable Flag that indicates whether buffer above is to be recycled after being used or not. | |
| _context | back to summary |
|---|---|
| protected final IOContext _context | |
| _in | back to summary |
|---|---|
| protected final InputStream _in | |
| _inputBuffer | back to summary |
|---|---|
| protected final byte[] _inputBuffer | |
| _inputEnd | back to summary |
|---|---|
| protected int _inputEnd | |
| _inputProcessed | back to summary |
|---|---|
| protected int _inputProcessed Current number of input units (bytes or chars) that were processed in previous blocks, before contents of current input buffer. Note includes possible BOMs, if those were part of the input. | |
| _inputPtr | back to summary |
|---|---|
| protected int _inputPtr | |
| CBORParserBootstrapper | back to summary |
|---|---|
| public CBORParserBootstrapper(IOContext ctxt, InputStream in) | |
| CBORParserBootstrapper | back to summary |
|---|---|
| public CBORParserBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen) | |
| constructParser | back to summary |
|---|---|
| public CBORParser constructParser(int factoryFeatures, int generalParserFeatures, int formatFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols) throws IOException, JsonParseException | |
| ensureLoaded | back to summary |
|---|---|
| protected boolean ensureLoaded(int minimum) throws IOException | |
| hasCBORFormat | back to summary |
|---|---|
| public static MatchStrength hasCBORFormat(InputAccessor acc) throws IOException | |