public class SmileParserBootstrapper extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
_bufferRecyclable
Flag 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 |
_inputProcessed
Current 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 |
---|
SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
byte[] inputBuffer,
int inputStart,
int inputLen) |
SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt,
InputStream in) |
Modifier and Type | Method and Description |
---|---|
SmileParser |
constructParser(int factoryFeatures,
int generalParserFeatures,
int smileFeatures,
com.fasterxml.jackson.core.ObjectCodec codec,
com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) |
static com.fasterxml.jackson.core.format.MatchStrength |
hasSmileFormat(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 SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, InputStream in)
public SmileParserBootstrapper(com.fasterxml.jackson.core.io.IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)
public SmileParser constructParser(int factoryFeatures, int generalParserFeatures, int smileFeatures, com.fasterxml.jackson.core.ObjectCodec codec, com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer rootByteSymbols) throws IOException, com.fasterxml.jackson.core.JsonParseException
IOException
com.fasterxml.jackson.core.JsonParseException
public static com.fasterxml.jackson.core.format.MatchStrength hasSmileFormat(com.fasterxml.jackson.core.format.InputAccessor acc) throws IOException
IOException
Copyright © 2020 FasterXML. All rights reserved.