public class CBORParserBootstrapper extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | _bufferRecyclableFlag that indicates whether buffer above is to be recycled
 after being used or not. | 
| protected com.fasterxml.jackson.core.io.IOContext | _context | 
| protected InputStream | _in | 
| protected byte[] | _inputBuffer | 
| protected int | _inputEnd | 
| protected int | _inputProcessedCurrent number of input units (bytes or chars) that were processed in
 previous blocks,
 before contents of current input buffer. | 
| protected int | _inputPtr | 
| Constructor and Description | 
|---|
| CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
                      byte[] inputBuffer,
                      int inputStart,
                      int inputLen) | 
| CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
                      InputStream in) | 
| Modifier and Type | Method and Description | 
|---|---|
| CBORParser | constructParser(int factoryFeatures,
               int generalParserFeatures,
               int formatFeatures,
               com.fasterxml.jackson.core.ObjectCodec codec,
               com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) | 
| protected boolean | ensureLoaded(int minimum) | 
| static com.fasterxml.jackson.core.format.MatchStrength | hasCBORFormat(com.fasterxml.jackson.core.format.InputAccessor acc) | 
protected final com.fasterxml.jackson.core.io.IOContext _context
protected final InputStream _in
protected final byte[] _inputBuffer
protected int _inputPtr
protected int _inputEnd
protected final boolean _bufferRecyclable
protected int _inputProcessed
Note: includes possible BOMs, if those were part of the input.
public CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
                      InputStream in)
public CBORParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
                      byte[] inputBuffer,
                      int inputStart,
                      int inputLen)
public CBORParser constructParser(int factoryFeatures, int generalParserFeatures, int formatFeatures, com.fasterxml.jackson.core.ObjectCodec codec, com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) throws IOException, com.fasterxml.jackson.core.JsonParseException
IOExceptioncom.fasterxml.jackson.core.JsonParseExceptionpublic static com.fasterxml.jackson.core.format.MatchStrength hasCBORFormat(com.fasterxml.jackson.core.format.InputAccessor acc)
                                                                     throws IOException
IOExceptionprotected boolean ensureLoaded(int minimum)
                        throws IOException
IOExceptionCopyright © 2017 FasterXML. All rights reserved.