A `const char* getString(int position)` function will helpful, this allows to pass without copying the buffer data.