code: public static UTF8JsonGenerator newJsonGenerator(OutputStream out, byte[] buf)
      {
          return newJsonGenerator(out, buf, 0, false, new IOContext(
                  DEFAULT_JSON_FACTORY._getBufferRecycler(), out, false));
      }
docs: Creates a {@link UTF8JsonGenerator} for the outputstream with the supplied buf {@code outBuffer} to use.