bufferSerializeFormatFromString

fnharfbuzz.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

stra string to parse

Returns

The parsed #hb_buffer_serialize_format_t.