from_string


Description:

[ Version ( since = "0.9.2" ) ]
public static Tag from_string (uint8[] str)

Converts a string into an Tag.

Valid tags are four characters. Shorter input strings will be padded with spaces. Longer input strings will be truncated.

Parameters:

str

String to convert

len

Length of str, or -1 if it is `NULL`-terminated

Returns:

The Tag corresponding to str