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
 
qsizetype maxDecodedSizeFor (qsizetype insize, NewlineType newline=Codec::NewlineLF) const override
 
qsizetype maxEncodedSizeFor (qsizetype 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
 
QByteArray decode (QByteArrayView 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
 
QByteArray encode (QByteArrayView 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 (QByteArrayView 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()

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

Codec::maxDecodedSizeFor()

Reimplemented from KCodecs::Base64Codec.

Definition at line 171 of file kcodecsbase64.h.

◆ maxEncodedSizeFor()

qsizetype KCodecs::Rfc2047BEncodingCodec::maxEncodedSizeFor ( qsizetype 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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.