Function TVMFFIBigIntFromByteArray#
Defined in File c_api.h
Function Documentation#
-
int TVMFFIBigIntFromByteArray(const TVMFFIByteArray *input, TVMFFIAny *out)#
Import a signed integer from its native word content, copying and normalizing it.
- Parameters:
input – Whole 64-bit words, least-significant word first, with native byte order within each word and two’s-complement sign. Length must be a multiple of eight; redundant sign-extension words are accepted, and an empty array represents zero.
out – The integer value owned by the caller.
- Returns:
0 on success, nonzero on failure.