Reading in reverse is likely to be much slower because of the buffering, so I doubt it will have any performance gain that you seem to be looking for. 

Craig

On 12 Feb 2019, at 16:33, Sean Farrow via Boost-users <boost-users@lists.boost.org> wrote:

Hi,

 

Is there an easy way to read a file in reverse using boost::iostreams?

I’ve got a case where I need to detect whether text is present and it’s closer to the end of the file than the beginning.

Any help appreciated.

Kind regards

Sean.

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users