true if buffer memory allocation succeeded, false otherwise.harfbuzz.types.Bool bufferSetLength(harfbuzz.buffer.Buffer buffer, uint length)Similar to harfbuzz.global.bufferPreAllocate, but clears any new items added at the end.
buffer | An #hb_buffer_t |
length | The new length of buffer |
true if buffer memory allocation succeeded, false otherwise.