GetResizedStringTensorElementBuffer property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtValue> value, Size index, Size length_in_bytes, Pointer<Pointer<Char>> buffer)>> GetResizedStringTensorElementBuffer
getter/setter pair

\brief Set a single string in a string tensor Do not zero terminate the string data.

\paramin value A string tensor \paramin index - flat index of the element \paramin length_in_bytes length of the buffer in utf-8 bytes (without the null terminator) \paraminout buffer - address of return value

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtValue> value,
      ffi.Size index,
      ffi.Size length_in_bytes,
      ffi.Pointer<ffi.Pointer<ffi.Char>> buffer,
    )
  >
>
GetResizedStringTensorElementBuffer;