to_string_as_bytes


Description:

public Bytes to_string_as_bytes ()

Convert this to a string and return the results as Bytes .

This is needed to handle strings with null characters.

Parameters:

this

a Value

Returns:

a Bytes with the result of the conversion.