static if(isArray!(typeof(arg))) && is(typeof(arg[0]) == ubyte)) ```Note that even if arg.length is 0, this is fine, because the expression isn't actually executed.Hope this helps you to understand the issue.
Actually, I was a little bit curious about the case where my arg _was_ zero length... that addresses it nicely. Thank you.
Andy