static SmileParser newSmileParser(InputStream in, byte[] buf,
            int offset, int limit, boolean bufferRecyclable, IOContext context)
            throws IOException
    {
        return new SmileParser(context,
                DEFAULT_SMILE_FACTORY.getParserFeaturesImpl(),
                DEFAULT_SMILE_FACTORY.getSmileParserFeaturesImpl(),
                DEFAULT_SMILE_FACTORY.getCodec(),
                DEFAULT_SMILE_FACTORY.getRootByteSymbols().makeChild(1),
                in,
                buf, offset, limit, bufferRecyclable);
    }
Creates a {@link SmileParser} from the inputstream with the supplied buf {@code inBuffer} to use.
protostuff-json/src/main/java/io/protostuff/SmileIOUtil.java