[Vala] byte array <-> string



Hello. It seems to me that there is no easy way to convert these two
to each other. I'd suggest adding one method and one constructor or
static method to the string class. "uint8[] to_byte_array ()" and
"String.from_byte_array (uint8[] array, size_t start = 0, size_t len =
-1)". Is it possible?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]