public static SmileGenerator newSmileGenerator(OutputStream out, byte[] buf)
    {
        return newSmileGenerator(out, buf, 0, false, new IOContext(
                DEFAULT_SMILE_FACTORY._getBufferRecycler(), out, false));
    }
Creates a {@link SmileGenerator} for the outputstream with the supplied buf {@code outBuffer} to use.
protostuff-json/src/main/java/io/protostuff/SmileIOUtil.java