doc: improve buf.lastIndexOf() text
Improve description of encoding
option. (This change is also applied
to buf.indexOf()
.) Improve punctuation. Wrap at 80 characters.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines