Function TVMFFIStringFromByteArray

Function TVMFFIStringFromByteArray#

Function Documentation#

int TVMFFIStringFromByteArray(const TVMFFIByteArray *input, TVMFFIAny *out)#

Reinterpret the content of TVMFFIByteArray to String.

Parameters:
  • input – The TVMFFIByteArray to convert.

  • out – The output String owned by the caller, maybe a SmallStr or a Str object.

Returns:

0 on success, nonzero on failure.