okteta
hexadecimalbytecodec.h
Go to the documentation of this file.
virtual void removeLastDigit(Byte *byte) const
Tries to remove the last (least significant) digit from byte.
Definition: hexadecimalbytecodec.cpp:135
virtual void encode(QString &digits, unsigned int pos, Byte byte) const
Encodes the byte using full coding width, prefixing with 0s if needed, and writes the result to digit...
Definition: hexadecimalbytecodec.cpp:67
static const QChar lowerCaseDigits[16]
Definition: hexadecimalbytecodec.cpp:37
virtual unsigned int encodingWidth() const
Definition: hexadecimalbytecodec.cpp:64
HexadecimalByteCodec(bool lowerCaseDigits=false)
Definition: hexadecimalbytecodec.cpp:45
Class that is able to convert codings to and from hexadecimal, decimal, octal, and binary...
Definition: valuecodec.h:45
bool isLowerCaseDigits() const
Definition: hexadecimalbytecodec.cpp:61
virtual bool appendDigit(Byte *byte, unsigned char digit) const
Tries to increase the byte value by appending a digit to the digits of the current encoding...
Definition: hexadecimalbytecodec.cpp:117
bool setLowerCaseDigits(bool lowerCaseDigits)
Definition: hexadecimalbytecodec.cpp:50
virtual Byte digitsFilledLimit() const
Definition: hexadecimalbytecodec.cpp:65
virtual bool isValidDigit(unsigned char digit) const
Checks if the given digit is used in the encoding.
Definition: hexadecimalbytecodec.cpp:98
virtual bool turnToValue(unsigned char *digit) const
Turns the digit into a byte with the value of the digit.
Definition: hexadecimalbytecodec.cpp:103
virtual void encodeShort(QString &digits, unsigned int pos, Byte byte) const
Encodes the byte and writes the result to digits, no leading 0s.
Definition: hexadecimalbytecodec.cpp:73
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.