Example #1
0
int
cf_dyn_buf_append_uint32 (cf_dyn_buf *db, uint32_t i)
{
	DB_RESERVE(12);
	db->used_sz += cf_str_itoa_u32(i, (char *) &db->buf[db->used_sz], 10);
	return( 0 );
}
Example #2
0
void
cf_buf_builder_append_ascii_uint32(cf_buf_builder **bb_r, uint32_t i)
{
	BB_RESERVE(12);
	cf_buf_builder *bb = *bb_r;
	bb->used_sz += cf_str_itoa_u32(i, (char *)&bb->buf[bb->used_sz], 10);
}