ailiaTokenizerGetTextLength method

int ailiaTokenizerGetTextLength(
  1. Pointer<AILIATokenizer> net,
  2. Pointer<UnsignedInt> len
)

Gets the size of text. (Include null)

Parameters:

  • net: A tokenizer instance pointer
  • len: The length of text

Returns:

If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Implementation

int ailiaTokenizerGetTextLength(
  ffi.Pointer<AILIATokenizer> net,
  ffi.Pointer<ffi.UnsignedInt> len,
) {
  return _ailiaTokenizerGetTextLength(
    net,
    len,
  );
}