Serializes buffer into a textual representation of its content, whether Unicode codepoints or glyph identifiers and
positioning information.
This is useful for showing the contents of the buffer, for example during debugging. See the documentation of serialize_unicode and serialize_glyphs for a description of the output format.
| start |
the first item in |
| end |
the last item in |
| buf |
output string to write serialized buffer into. |
| buf_consumed |
if not `NULL`, will be set to the number of bytes written into |
| font |
the Font used to shape this buffer, needed to read glyph names and extents. If `NULL`, an empty font will be used. |
| format |
the BufferSerializeFormat to use for formatting the output. |
| flags |
the BufferSerializeFlags that control what glyph properties to serialize. |
| buf_size |
the size of |
| buffer |
an Buffer buffer. |
|
The number of serialized items. |