This is for the case where the user passes in an array as input, and the C function requires a 'size' argument. This ArgHandler would automatically compute the array length and pass it in.
We could use the existing 'len' handler, or perhaps create a new one because the semantics are a bit different.
It's not clear that 'bufin' is necessary, since strings would normally be null-terminated. Might be good to have it just in case though.
This is for the case where the user passes in an array as input, and the C function requires a 'size' argument. This ArgHandler would automatically compute the array length and pass it in.
We could use the existing 'len' handler, or perhaps create a new one because the semantics are a bit different.
It's not clear that 'bufin' is necessary, since strings would normally be null-terminated. Might be good to have it just in case though.