Function ecs_id_str
Synopsis
#include <include/flecs.h>
FLECS_API size_t ecs_id_str(const ecs_world_t *world, ecs_id_t entity, char *buffer, size_t buffer_len)
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 1699 in include/flecs.h.