#include <filters.h>
|
virtual void | send (const uint8_t in[], size_t length) |
|
void | send (uint8_t in) |
|
template<typename Alloc > |
void | send (const std::vector< uint8_t, Alloc > &in) |
|
template<typename Alloc > |
void | send (const std::vector< uint8_t, Alloc > &in, size_t length) |
|
BitBucket is a filter which simply discards all inputs
Definition at line 640 of file filters.h.
virtual bool Botan::Filter::attachable |
( |
| ) |
|
|
inlinevirtualinherited |
virtual void Botan::Filter::end_msg |
( |
| ) |
|
|
inlinevirtualinherited |
std::string Botan::BitBucket::name |
( |
| ) |
const |
|
inlineoverridevirtual |
- Returns
- descriptive name for this filter
Implements Botan::Filter.
Definition at line 645 of file filters.h.
645 {
return "BitBucket"; }
void Botan::Filter::send |
( |
const uint8_t |
in[], |
|
|
size_t |
length |
|
) |
| |
|
protectedvirtualinherited |
void Botan::Filter::send |
( |
uint8_t |
in | ) |
|
|
inlineprotectedinherited |
template<typename Alloc >
void Botan::Filter::send |
( |
const std::vector< uint8_t, Alloc > & |
in | ) |
|
|
inlineprotectedinherited |
- Parameters
-
in | some input for the filter |
Definition at line 71 of file filter.h.
73 send(in.data(), in.size());
virtual void send(const uint8_t in[], size_t length)
template<typename Alloc >
void Botan::Filter::send |
( |
const std::vector< uint8_t, Alloc > & |
in, |
|
|
size_t |
length |
|
) |
| |
|
inlineprotectedinherited |
- Parameters
-
in | some input for the filter |
length | the number of bytes of in to send |
Definition at line 81 of file filter.h.
References BOTAN_ASSERT_NOMSG.
84 send(in.data(), length);
virtual void send(const uint8_t in[], size_t length)
#define BOTAN_ASSERT_NOMSG(expr)
virtual void Botan::Filter::start_msg |
( |
| ) |
|
|
inlinevirtualinherited |
Start a new message. Must be closed by end_msg() before another message can be started.
Definition at line 40 of file filter.h.
void Botan::BitBucket::write |
( |
const uint8_t |
input[], |
|
|
size_t |
length |
|
) |
| |
|
inlineoverridevirtual |
Write a portion of a message to this filter.
- Parameters
-
input | the input as a byte array |
length | the length of the byte array input |
Implements Botan::Filter.
Definition at line 643 of file filters.h.
The documentation for this class was generated from the following file: