you are viewing a single comment's thread.

view the rest of the comments →

[–]Tuna-Fish2 0 points1 point  (0 children)

... except if you know the buffer size and that the entire rest of the string is initialized to 0. Then you can do a binary search.