[doc] Fix typo & format in C API documentation (#10350)

This commit is contained in:
Astariul
2024-05-30 23:14:42 +08:00
committed by GitHub
parent 324f2d4e4a
commit 0717e886e5
+2 -4
View File
@@ -1265,13 +1265,11 @@ XGB_DLL int XGBoosterLoadModelFromBuffer(BoosterHandle handle,
* \param handle handle
* \param config JSON encoded string storing parameters for the function. Following
* keys are expected in the JSON document:
*
* "format": str
* - "format": str
* - json: Output booster will be encoded as JSON.
* - ubj: Output booster will be encoded as Univeral binary JSON.
* - ubj: Output booster will be encoded as Universal binary JSON.
* - deprecated: Output booster will be encoded as old custom binary format. Do not use
* this format except for compatibility reasons.
*
* \param out_len The argument to hold the output length
* \param out_dptr The argument to hold the output data pointer
*