add str to u16/u32, and u16/u32 to str