Right, I was more against adding the implicit expectation that strings in the buffer would need to be null-terminated prior to using a function like buffer.readstring.
I think the approach you mentioned of adding buffer.find or similar would be a much better solution because it would cover the use case of finding sentinel values in the buffer without putting any constraints on the existing buffer functions.