git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@875 b431acfa-c32f-4a4a-93f1-934dc6c82436
23 lines
298 B
C++
23 lines
298 B
C++
#include "TestBlock.hpp"
|
|
|
|
template<typename T>
|
|
TestBlock<T>::TestBlock()
|
|
{
|
|
|
|
}
|
|
|
|
template<typename T>
|
|
TestBlock<T>::~TestBlock()
|
|
{
|
|
|
|
}
|
|
|
|
template<typename T>
|
|
void TestBlock<T>::process(Buffer<T> &in, Buffer<T> &out)
|
|
{
|
|
size_t toCopy = in.len();
|
|
out.write(in.data_r(), toCopy);
|
|
in.consume(toCopy);
|
|
}
|
|
|