bufferSerializeFormatFromString
fn
harfbuzz.types.BufferSerializeFormat bufferSerializeFormatFromString(ubyte[] str)Parses a string into an #hb_buffer_serialize_format_t. Does not check if str is a valid buffer serialization format, use [harfbuzz.global.bufferSerializeListFormats] to get the list of supported formats.
Parameters
str | a string to parse |
Returns
The parsed #hb_buffer_serialize_format_t.