/usr/include/bobcat/ibase64streambuf is in libbobcat-dev 3.23.01-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #ifndef INCLUDED_BOBCAT_IBASE64STREAMBUF_
#define INCLUDED_BOBCAT_IBASE64STREAMBUF_
#include <bobcat/base64streambufbase>
#include <bobcat/fbb>
namespace FBB
{
template <CryptType>
class IBase64Streambuf;
template <>
class IBase64Streambuf<ENCRYPT>: public IUO::Base64StreambufBase
{
public:
IBase64Streambuf(std::istream &in, size_t bufSize = 1000); // 1.f
};
template <>
class IBase64Streambuf<DECRYPT>: public IUO::Base64StreambufBase
{
public:
IBase64Streambuf(std::istream &in, size_t bufSize = 1000); // 2.f
};
IBase64Streambuf<ENCRYPT>::IBase64Streambuf(std::istream &in, size_t bufSize)
:
Base64StreambufBase(in, bufSize)
{
doEncrypt();
}
IBase64Streambuf<DECRYPT>::IBase64Streambuf(std::istream &in, size_t bufSize)
:
Base64StreambufBase(in, bufSize)
{
doDecrypt();
}
} // FBB
#endif
|