I'm writing documentation for a software library and I want to express that when a function fails, the bytes in the result buffer (which is always an array of bytes, this is a strongly typed language) are undefined.
I originally wrote, "Upon failure, the contents of this buffer are undefined", but now I'm contemplating, "Upon failure, the content of this buffer is undefined".
If the function succeeded, then the result buffer represents an XML document, so it's a single entity. If the function fails, it's technically just an array of bytes with no defined meaning, so it's multiple countable entities.
Thoughts?