cleanupBuffer method
Frees any per-element allocations flatListToBuffer made for the first
elements values of buffer.
Only string chunks allocate per element; liblsl copies the data before the push returns, so this runs right after every push.
Implementation
void cleanupBuffer(Pointer<NativeType> buffer, int elements) {}