#include <DataConversion.h>
Inheritance diagram for Rot13:


Private Member Functions | |
| virtual | ~Rot13 () |
| virtual std::string | name () const |
| Name of the converter, mostly for debugging purposes. | |
| virtual uint8_t * | encode (uint8_t *buffer, size_t *nbytes) |
| Encodes a buffer. | |
| virtual uint8_t * | decode (uint8_t *buffer, size_t *nbytes) |
| Decodes a buffer. | |
| virtual Rot13::~Rot13 | ( | ) | [inline, private, virtual] |
| virtual std::string Rot13::name | ( | ) | const [inline, private, virtual] |
| virtual uint8_t* Rot13::encode | ( | uint8_t * | buffer, | |
| size_t * | nbytes | |||
| ) | [inline, private, virtual] |
Encodes a buffer.
Encodes the supplied buffer either in place or into a newly allocated buffer. The return value is the location of the encoded data and the nbytes argument should be updated to reflect the size of the encoded data. The original buffer should not be deleted by this method.
Implements DataConverter.
| virtual uint8_t* Rot13::decode | ( | uint8_t * | buffer, | |
| size_t * | nbytes | |||
| ) | [inline, private, virtual] |
Decodes a buffer.
Decodes the supplied buffer either in place or into a newly allocated buffer. The return value is the location of the decoded data and the nbytes argument should be updated to reflect the size of the decoded data. The original buffer should not be deleted by this method.
Implements DataConverter.
1.4.7