47#define AS_CDT_CTX_VALUE 0x2
97#define as_cdt_ctx_inita(__ctx, __cap) as_vector_inita(&(__ctx)->list, sizeof(as_cdt_ctx_item), __cap)
AS_EXTERN uint32_t as_cdt_ctx_byte_capacity(const as_cdt_ctx *ctx)
AS_EXTERN bool as_cdt_ctx_from_bytes(as_cdt_ctx *ctx, const uint8_t *bytes, uint32_t size)
AS_EXTERN uint32_t as_cdt_ctx_base64_capacity(const as_cdt_ctx *ctx)
AS_EXTERN bool as_cdt_ctx_to_base64(const as_cdt_ctx *ctx, char *base64, uint32_t capacity)
AS_EXTERN uint32_t as_cdt_ctx_to_bytes(const as_cdt_ctx *ctx, uint8_t *bytes, uint32_t capacity)
AS_EXTERN bool as_cdt_ctx_from_base64(as_cdt_ctx *ctx, const char *base64)
static uint32_t as_map_order_to_flag(as_map_order order)
static uint32_t as_list_order_to_flag(as_list_order order, bool pad)
AS_EXTERN void as_vector_init(as_vector *vector, uint32_t item_size, uint32_t capacity)
static void as_vector_append(as_vector *vector, void *value)
AS_EXTERN as_vector * as_vector_create(uint32_t item_size, uint32_t capacity)
static void as_cdt_ctx_add_list_value(as_cdt_ctx *ctx, as_val *val)
static void as_cdt_ctx_add_map_rank(as_cdt_ctx *ctx, int rank)
static void as_cdt_ctx_add_list_rank(as_cdt_ctx *ctx, int rank)
static void as_cdt_ctx_add_list_index(as_cdt_ctx *ctx, int index)
static void as_cdt_ctx_add_map_value(as_cdt_ctx *ctx, as_val *val)
static void as_cdt_ctx_add_map_key(as_cdt_ctx *ctx, as_val *key)
static void as_cdt_ctx_add_list_index_create(as_cdt_ctx *ctx, int index, as_list_order order, bool pad)
static void as_cdt_ctx_add_map_key_create(as_cdt_ctx *ctx, as_val *key, as_map_order order)
AS_EXTERN void as_cdt_ctx_destroy(as_cdt_ctx *ctx)
static void as_cdt_ctx_init(as_cdt_ctx *ctx, uint32_t capacity)
static void as_cdt_ctx_add_map_index(as_cdt_ctx *ctx, int index)
static as_cdt_ctx * as_cdt_ctx_create(uint32_t capacity)
union as_cdt_ctx_item::@1 val