- added
git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@875 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user