Use block size of underlying stream.

This commit is contained in:
Vincent Richard 2014-01-05 09:39:30 +01:00
parent df56d99b83
commit 46963a3d99
2 changed files with 24 additions and 0 deletions

View File

@ -210,6 +210,12 @@ void dotFilteredOutputStream::flush()
}
size_t dotFilteredOutputStream::getBlockSize()
{
return m_stream.getBlockSize();
}
// CRLFToLFFilteredOutputStream
CRLFToLFFilteredOutputStream::CRLFToLFFilteredOutputStream(outputStream& os)
@ -286,6 +292,12 @@ void CRLFToLFFilteredOutputStream::flush()
}
size_t CRLFToLFFilteredOutputStream::getBlockSize()
{
return m_stream.getBlockSize();
}
// LFToCRLFFilteredOutputStream
LFToCRLFFilteredOutputStream::LFToCRLFFilteredOutputStream(outputStream& os)
@ -357,6 +369,12 @@ void LFToCRLFFilteredOutputStream::flush()
}
size_t LFToCRLFFilteredOutputStream::getBlockSize()
{
return m_stream.getBlockSize();
}
// stopSequenceFilteredInputStream <1>
template <>

View File

@ -120,6 +120,8 @@ public:
void flush();
size_t getBlockSize();
protected:
void writeImpl(const byte_t* const data, const size_t count);
@ -150,6 +152,8 @@ public:
void flush();
size_t getBlockSize();
protected:
void writeImpl(const byte_t* const data, const size_t count);
@ -179,6 +183,8 @@ public:
void flush();
size_t getBlockSize();
protected:
void writeImpl(const byte_t* const data, const size_t count);