KCodecs::SevenBitCodec
KCodecs::SevenBitCodec Class Reference
#include <kcodecsidentity.h>
Inheritance diagram for KCodecs::SevenBitCodec:

Public Member Functions | |
SevenBitCodec () | |
~SevenBitCodec () override | |
const char * | name () const override |
![]() | |
IdentityCodec () | |
~IdentityCodec () override | |
virtual bool | decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const |
QByteArray | decode (const QByteArray &src, Codec::NewlineType newline=Codec::NewlineLF) const override |
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 |
QByteArray | encode (const QByteArray &src, Codec::NewlineType newline=Codec::NewlineLF) const override |
virtual QByteArray | encode (const QByteArray &src, NewlineType newline=NewlineLF) const |
Decoder * | makeDecoder (Codec::NewlineType newline=Codec::NewlineCRLF) const override |
Encoder * | makeEncoder (Codec::NewlineType newline=Codec::NewlineCRLF) const override |
int | maxDecodedSizeFor (int insize, Codec::NewlineType newline) const override |
int | maxEncodedSizeFor (int insize, Codec::NewlineType newline=Codec::NewlineLF) const override |
![]() | |
virtual | ~Codec () |
virtual bool | decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const |
virtual bool | encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const |
Additional Inherited Members | |
![]() | |
enum | NewlineType { NewlineLF, NewlineCRLF } |
![]() | |
static Codec * | codecForName (const char *name) |
static Codec * | codecForName (const QByteArray &name) |
![]() | |
Codec () | |
Detailed Description
A class representing the codec for seven-bit-text.
Definition at line 108 of file kcodecsidentity.h.
Constructor & Destructor Documentation
◆ SevenBitCodec()
|
inline |
Constructs the 7-bit codec.
Definition at line 114 of file kcodecsidentity.h.
◆ ~SevenBitCodec()
|
inlineoverride |
Destroys the codec.
Definition at line 122 of file kcodecsidentity.h.
Member Function Documentation
◆ name()
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:00:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:00:52 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.