Variant.bytestring


Description:

public Variant.bytestring (string value)

Creates an array-of-bytes Variant with the contents of string.

This function is just like Variant.string except that the string need not be valid utf8.

The nul terminator character at the end of the string is stored in the array.

Parameters:

string

a normal nul-terminated string in no particular encoding

Returns:

a floating reference to a new bytestring Variant instance