Using the vector_uchar type

Here is an example for set_data(), it will work for you too. Since it is a char type.