toStringAsBytes

fun toStringAsBytes(): <Error class: unknown class>

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

Return

a #GBytes with the result of the conversion.