That doesn’t sound like a very satisfying reason to me. Isn’t a ByteArrayBuffer in Java pretty much the same (its underlying implementation is a char[] which can be used directly from C)?
Is there perhaps another factor, such as an existing ecosystem or that it’s widely used in the academic field?
Is there perhaps another factor, such as an existing ecosystem or that it’s widely used in the academic field?