serialize_format_from_string


Description:

[ Version ( since = "0.9.7" ) ]
public static BufferSerializeFormat serialize_format_from_string (uint8[] str)

Parses a string into an BufferSerializeFormat.

Does not check if str is a valid buffer serialization format, use serialize_list_formats to get the list of supported formats.

Parameters:

str

a string to parse

len

length of str, or -1 if string is `NULL` terminated

Returns:

The parsed BufferSerializeFormat.