Houdini 20.0 hapi

hapi.getStringBatchSize function

Gives back the length of the buffer needed to hold

Usage

getStringBatchSize(session: hapi.Session, string_handle_array: list of int, string_handle_count: int) → int

Gives back the length of the buffer needed to hold all the values null-separated for the given string handles. Used with hapi.getStringBatch.

session

The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.

string_handle_array

Array of string handles to be read.

string_handle_count

Length of string_handle_array

Returns string_buffer_size as a int.

hapi