Botan

Filter

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

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

This class represents general abstract filter objects.


final void  write(const(ubyte)[] input);

Write a portion of a message to this filter.

Parameters
const(ubyte)[] input the input as a ubyte array

void  send(const(ubyte)* input, size_t length);

Parameters
const(ubyte)* input some input for the filter
size_t length the length of in

final void  send(ubyte input);

Parameters
ubyte input some input for the filter

final void  send(ALLOC)(auto ref const Vector!(ubyte, ALLOC) input);

Parameters
Vector!(ubyte, ALLOC) input some input for the filter

final void  send(ALLOC)(auto ref const RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input);

Parameters
RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input some input for the filter

final void  send(ALLOC)(auto ref const Vector!(ubyte, ALLOC) input, size_t length);

Parameters
Vector!(ubyte, ALLOC) input some input for the filter
size_t length the number of bytes of in to  send

final void  send(ALLOC)(auto ref const RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input, size_t length);

Parameters
RefCounted!(Vector!(ubyte, ALLOC), ALLOC) input some input for the filter
size_t length the number of bytes of in to  send

void  newMsg();

Start a new message in this and all following filters. Only for internal use, not intended for use in client applications.


void  finishMsg();

End a new message in this and all following filters. Only for internal use, not intended for use in client applications.


void  setPort(size_t new_port);

Set the active port

Parameters
size_t new_port the new value

void  attach(Filter new_filter);

Attach another filter to this one

Parameters
Filter new_filter filter to  attach

void  setNext(Filter* filters, size_t size);

Parameters
Filter* filters the filters to set
size_t size number of items in filters

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

This is the abstract  FanoutFilter base class.


protected void  incrOwns();

Increment the number of filters past us that we own


alias  DecoderChecking = ubyte;

The type of checking to be performed by decoders: NONE - no checks, IGNORE_WS - perform checks, but ignore whitespaces, FULL_CHECK - perform checks, also complain about white spaces.