[ 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.
| str |
a string to parse |
| len |
length of |
|
The parsed BufferSerializeFormat. |