Function TVMFFIBytesFromByteArray

Function TVMFFIBytesFromByteArray#

Function Documentation#

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

Reinterpret the content of TVMFFIByteArray to Bytes.

Parameters:
  • input – The TVMFFIByteArray to convert.

  • out – The output Bytes owned by the caller, maybe a SmallBytes or a Bytes object.

Returns:

0 on success, nonzero on failure.