String.c question

How does rb_str_cat differ from rb_str_buf_cat?

I have a a String object, a C pointer to a char array, and the length of the array. The array is 10KB or even 100KB. I want to cat the char array to the String. Which is the better function to use?

···

--
RMagick: http://rmagick.rubyforge.org/

rb_str_buf_cat() is a function to use with strings created by
rb_str_buf_new(). If you're not sure use rb_str_cat().

              matz.

···

In message "Re: string.c question" on Sun, 14 Dec 2008 07:29:17 +0900, Tim Hunter <TimHunter@nc.rr.com> writes:

How does rb_str_cat differ from rb_str_buf_cat?