Hm. A sequence of bytes could be an array in perl but in C it is generally known as a string. :^)
So you could just pass a string and read it with SvPV. Although I suppose it depends on your concept of the channel. If the bytes are going to have an individual meaning, like a value sampling, then perhaps the array model is appropriate.
In reply to Re: Is this a sane/safe way to pass an aref into a C function?
by Anonymous Monk
in thread Is this a sane/safe way to pass an aref into a C function?
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |