aboutsummaryrefslogtreecommitdiffstats
path: root/src/filters/filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters/filter.h')
-rw-r--r--src/filters/filter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/filters/filter.h b/src/filters/filter.h
index a0b2e1c7a..81641db3d 100644
--- a/src/filters/filter.h
+++ b/src/filters/filter.h
@@ -66,6 +66,15 @@ class BOTAN_DLL Filter
* @param in some input for the filter
*/
void send(const MemoryRegion<byte>& in) { send(&in[0], in.size()); }
+
+ /**
+ * @param in some input for the filter
+ */
+ void send(const MemoryRegion<byte>& in, u32bit length)
+ {
+ send(&in[0], length);
+ }
+
Filter();
private:
Filter(const Filter&) {}