reference count should be released with [harfbuzz.global.bufferDestroy] when you are done using the #hb_buffer_t. This function never returns NULL. If memory cannot be allocated, a special #hb_buffer_t object will be returned on which [harfbuzz.global.bufferAllocationSuccessful] returns false.
bufferCreate
fn
harfbuzz.buffer.Buffer bufferCreate()Creates a new #hb_buffer_t with all properties to defaults.
Returns
A newly allocated #hb_buffer_t with a reference count of 1. The initial