A
Angus
Hello
I have a stream of bytes - unsigned char*. But the 'string' may contain
embedded nulls. So not like a traditional c string terminated with a null.
I need to calculate the length of these arrays but can't use strlen because
it just stops counting at the first null it finds. so how to do it?
Angus
I have a stream of bytes - unsigned char*. But the 'string' may contain
embedded nulls. So not like a traditional c string terminated with a null.
I need to calculate the length of these arrays but can't use strlen because
it just stops counting at the first null it finds. so how to do it?
Angus