[Vala] byte array <-> string
- From: Jiří Zárevúcky <zarevucky jiri gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] byte array <-> string
- Date: Mon, 15 Jun 2009 17:22:02 +0200
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]