Value.toStringAsBytes

Convert value to a string and return the results as #GBytes. This is needed to handle strings with null characters.

class Value
toStringAsBytes
()

Return Value

Type: glib.bytes.Bytes

a #GBytes with the result of the conversion.