bufferGetCharPtr method
Returns the native encoded-character array.
Implementation
Pointer<Uint32> bufferGetCharPtr(OptimizedBufferHandle buffer) =>
_guard('Failed to access buffer chars', () {
final pointer = _native.bufferGetCharPtr(buffer.value);
if (pointer == nullptr) throw StateError('returned nullptr');
return pointer;
});