KCodecs::Rfc2047BEncodingCodec

Search for usage in LXR

KCodecs::Rfc2047BEncodingCodec Class Reference

#include <kcodecsbase64.h>

Inheritance diagram for KCodecs::Rfc2047BEncodingCodec:

Public Member Functions

 Rfc2047BEncodingCodec ()
 
 ~Rfc2047BEncodingCodec () override
 
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 129 of file kcodecsbase64.h.

Constructor & Destructor Documentation

◆ Rfc2047BEncodingCodec()

KCodecs::Rfc2047BEncodingCodec::Rfc2047BEncodingCodec ( )
inline

Constructs a RFC2047B codec.

Definition at line 135 of file kcodecsbase64.h.

◆ ~Rfc2047BEncodingCodec()

KCodecs::Rfc2047BEncodingCodec::~Rfc2047BEncodingCodec ( )
inlineoverride

Destroys the codec.

Definition at line 143 of file kcodecsbase64.h.

Member Function Documentation

◆ makeEncoder()

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

Codec::makeEncoder()

Reimplemented from KCodecs::Base64Codec.

Definition at line 147 of file kcodecsbase64.cpp.

◆ maxDecodedSizeFor()

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

Codec::maxDecodedSizeFor()

Reimplemented from KCodecs::Base64Codec.

Definition at line 171 of file kcodecsbase64.h.

◆ maxEncodedSizeFor()

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

Codec::maxEncodedSizeFor()

Reimplemented from KCodecs::Base64Codec.

Definition at line 160 of file kcodecsbase64.h.

◆ name()

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

Codec::name()

Reimplemented from KCodecs::Base64Codec.

Definition at line 151 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-2022 The KDE developers.
Generated on Tue Dec 6 2022 04:02:35 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.