diff options
-rw-r--r-- | src/filters/basefilt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/filters/basefilt.h b/src/filters/basefilt.h index 348ad6fd3..b1bcb1a00 100644 --- a/src/filters/basefilt.h +++ b/src/filters/basefilt.h @@ -13,6 +13,14 @@ namespace Botan { /** +* BitBucket is a filter which simply discards all inputs +*/ +struct BitBucket : public Filter + { + void write(const byte[], u32bit) {} + }; + +/** * This class represents Filter chains. A Filter chain is an ordered * concatenation of Filters, the input to a Chain sequentially passes * through all the Filters contained in the Chain. |