List of usage examples for com.fasterxml.jackson.dataformat.smile SmileParser SmileParser
public SmileParser(IOContext ctxt, int parserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer sym, InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)
From source file:io.protostuff.SmileIOUtil.java
/** * Creates a {@link SmileParser} from the inputstream with the supplied buf {@code inBuffer} to use. *///from w ww. jav a2 s . c om static SmileParser newSmileParser(InputStream in, byte[] buf, int offset, int limit, boolean bufferRecyclable, IOContext context) throws IOException { return new SmileParser(context, DEFAULT_SMILE_FACTORY.getParserFeatures(), DEFAULT_SMILE_FACTORY.getSmileParserFeatures(), DEFAULT_SMILE_FACTORY.getCodec(), DEFAULT_SMILE_FACTORY.getRootByteSymbols().makeChild(true, true), in, buf, offset, limit, bufferRecyclable); }