llama_model_meta_val_str method

int llama_model_meta_val_str(
  1. Pointer<llama_model> model,
  2. Pointer<Char> key,
  3. Pointer<Char> buf,
  4. int buf_size,
)

Get metadata value as a string by key name

Implementation

int llama_model_meta_val_str(
  ffi.Pointer<llama_model> model,
  ffi.Pointer<ffi.Char> key,
  ffi.Pointer<ffi.Char> buf,
  int buf_size,
) {
  return _llama_model_meta_val_str(
    model,
    key,
    buf,
    buf_size,
  );
}