Similar to harfbuzz.global.bufferPreAllocate, but clears any new items added at the end.
An #hb_buffer_t
The new length of buffer
true if buffer memory allocation succeeded, false otherwise.
Similar to harfbuzz.global.bufferPreAllocate, but clears any new items added at the end.