Can you update the doc line? Also the function itself does not re-use the buffer, that is up to the caller, so a slight rewording of this would also make sense.