Pointer to current end of the buffer, which also indicates the position of subsequent buffer write.
external ffi.Pointer<ffi.Char> cur;