destroyTextBuffer method
Destroys textBuffer and frees its native memory. Throws FFIException
on failure.
Implementation
void destroyTextBuffer(Pointer<TextBufferHandle> textBuffer) {
_guard('Failed to destroy text buffer', () {
_generated.destroyTextBuffer(textBuffer.cast());
});
}