Botan

Basic Filters

License
Botan is released under the Simplified BSD License (see LICENSE.md)

abstract class  BitBucket: botan.filters.filter.Filter, botan.filters.filter.Filterable;

 BitBucket is a filter which simply discards all inputs


class  Chain: botan.filters.filter.FanoutFilter, botan.filters.filter.Filterable;

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.


this(Filter f1 = null, Filter f2 = null, Filter f3 = null, Filter f4 = null);

Construct a chain of up to four filters. The filters are set up in the same order as the arguments.


this(Filter* filter_arr, size_t length);

Construct a chain from range of filters

Parameters
Filter* filter_arr the list of filters
size_t length how many filters

class  Fork: botan.filters.filter.FanoutFilter, botan.filters.filter.Filterable;

This class represents a fork filter, whose purpose is to fork the flow of data. It causes an input message to result in n messages at the end of the filter, where n is the number of forks.


this(Filter f1, Filter f2, Filter f3 = null, Filter f4 = null);

Construct a Fork filter with up to four forks.


this(Filter* filter_arr, size_t length);

Construct a Fork from range of filters

Parameters
Filter* filter_arr the list of filters
size_t length how many filters

class  ThreadedFork: botan.filters.basefilt.Fork, botan.filters.filter.Filterable;

This class is a threaded version of the Fork filter. While this uses threads, the class itself is NOT thread-safe. This is meant as a drop- in replacement for Fork where performance gains are possible.


this(Filter f1, Filter f2, Filter f3 = null, Filter f4 = null);

Construct a Threaded_Fork filter with up to four forks.


this(Filter* filter_arr, size_t length);

Construct a Threaded_Fork from range of filters

Parameters
Filter* filter_arr the list of filters
size_t length how many filters