#ifndef INCLUDED_BOBCAT_RANDBUF_
#define INCLUDED_BOBCAT_RANDBUF_

#include <streambuf>
#include <string>
#include <bobcat/randommt>

namespace FBB
{

class RandBuf: public std::streambuf
{
    RandomMT<int> d_randomMT;
    std::string d_buffer;

    public:
        RandBuf(int min, int max, size_t seed);

    private:
        int underflow() override;
};

}

#endif
