KCodecs::Rfc2047BEncodingCodec

KCodecs::Rfc2047BEncodingCodec Class Reference

#include <kcodecsbase64.h>

Inheritance diagram for KCodecs::Rfc2047BEncodingCodec:

Public Member Functions

 Rfc2047BEncodingCodec ()
 
virtual ~Rfc2047BEncodingCodec ()
 
EncodermakeEncoder (NewlineType newline=Codec::NewlineLF) const override
 
int maxDecodedSizeFor (int insize, NewlineType newline=Codec::NewlineLF) const override
 
int maxEncodedSizeFor (int insize, NewlineType newline=Codec::NewlineLF) const override
 
const char * name () const override
 
- Public Member Functions inherited from KCodecs::Base64Codec
 Base64Codec ()
 
 ~Base64Codec () override
 
DecodermakeDecoder (NewlineType newline=Codec::NewlineLF) const override
 
- Public Member Functions inherited from KCodecs::Codec
virtual ~Codec ()
 
virtual bool decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const
 
virtual QByteArray decode (const QByteArray &src, NewlineType newline=NewlineLF) const
 
virtual bool encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const
 
virtual QByteArray encode (const QByteArray &src, NewlineType newline=NewlineLF) const
 

Additional Inherited Members

- Public Types inherited from KCodecs::Codec
enum  NewlineType { NewlineLF, NewlineCRLF }
 
- Static Public Member Functions inherited from KCodecs::Codec
static CodeccodecForName (const char *name)
 
static CodeccodecForName (const QByteArray &name)
 
- Protected Member Functions inherited from KCodecs::Codec
 Codec ()
 

Detailed Description

A class representing the codec for the B encoding as specified in RFC2047B.

Definition at line 127 of file kcodecsbase64.h.

Constructor & Destructor Documentation

KCodecs::Rfc2047BEncodingCodec::Rfc2047BEncodingCodec ( )
inline

Constructs a RFC2047B codec.

Definition at line 133 of file kcodecsbase64.h.

virtual KCodecs::Rfc2047BEncodingCodec::~Rfc2047BEncodingCodec ( )
inlinevirtual

Destroys the codec.

Definition at line 140 of file kcodecsbase64.h.

Member Function Documentation

Encoder * KCodecs::Rfc2047BEncodingCodec::makeEncoder ( Codec::NewlineType  newline = Codec::NewlineLF) const
overridevirtual

Codec::makeEncoder()

Reimplemented from KCodecs::Base64Codec.

Definition at line 160 of file kcodecsbase64.cpp.

int KCodecs::Rfc2047BEncodingCodec::maxDecodedSizeFor ( int  insize,
NewlineType  newline = Codec::NewlineLF 
) const
inlineoverridevirtual

Codec::maxDecodedSizeFor()

Reimplemented from KCodecs::Base64Codec.

Definition at line 166 of file kcodecsbase64.h.

int KCodecs::Rfc2047BEncodingCodec::maxEncodedSizeFor ( int  insize,
NewlineType  newline = Codec::NewlineLF 
) const
inlineoverridevirtual

Codec::maxEncodedSizeFor()

Reimplemented from KCodecs::Base64Codec.

Definition at line 155 of file kcodecsbase64.h.

const char* KCodecs::Rfc2047BEncodingCodec::name ( ) const
inlineoverridevirtual

Codec::name()

Reimplemented from KCodecs::Base64Codec.

Definition at line 146 of file kcodecsbase64.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Aug 14 2020 22:43:21 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.