textBufferGetLength method

int textBufferGetLength(
  1. Pointer<TextBufferHandle> textBuffer
)

Returns the number of cells stored in textBuffer. Throws FFIException on failure.

Implementation

int textBufferGetLength(Pointer<TextBufferHandle> textBuffer) => _guard(
  'Failed to get text buffer length',
  () => _generated.textBufferGetLength(textBuffer.cast()),
);