doc: clarify the parameter byteOffset for lastIndexOf method of Buffer
I suggest to clarify the parameter byteOffset
for the lastIndexOf
method of Buffer
.
Currently, the doc says : "Where to begin searching in buf"
But in my opinion, it's not just. The parameter is more : "the index of the last byte in buf to be considered as the beginning of a match."
What do you think about that ?