add resbuf to docs

Please add a `.. versionadded` directive.