doc: correct buffer.slice arg syntax