Function tvm::ffi::reflection::AsByteArray

Function tvm::ffi::reflection::AsByteArray#

Function Documentation#

inline constexpr TVMFFIByteArray tvm::ffi::reflection::AsByteArray(const char *s)#

C++17 constexpr helper: convert a const char* to TVMFFIByteArray.

Parameters:

s – A null-terminated string literal.

Returns:

A TVMFFIByteArray whose data points to s and size equals strlen(s).