Passing binary data through functions

You are right, in function calls both are passed by reference, my bad. Sending across processes is where it differs.

Though the question is literally about “function parameters” (emph mine):

Anyway, the fact that strings are fine across processes and barely increase the overhead has been made by both of our posts.