Function ecs_id_str

Synopsis

#include <include/flecs.h>

FLECS_API char * ecs_id_str(const ecs_world_t *world, ecs_id_t id)

Description

Convert id to string. This operation interprets the structure of an id and converts it to a string.

Parameters

world - The world.

id - The id to convert to a string.

buffer - The buffer in which to store the string.

buffer_len - The length of the provided buffer.

Returns
The number of characters required to write the string.

Source

Line 1951 in include/flecs.h.