okteta
decimalbytecodec.cpp
Go to the documentation of this file.
virtual unsigned int encodingWidth() const
Definition: decimalbytecodec.cpp:32
virtual void encodeShort(QString &digits, unsigned int pos, Byte byte) const
Encodes the byte and writes the result to digits, no leading 0s.
Definition: decimalbytecodec.cpp:47
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: decimalbytecodec.cpp:81
virtual bool turnToValue(unsigned char *digit) const
Turns the digit into a byte with the value of the digit.
Definition: decimalbytecodec.cpp:70
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: decimalbytecodec.cpp:35
virtual Byte digitsFilledLimit() const
Definition: decimalbytecodec.cpp:33
virtual bool isValidDigit(unsigned char digit) const
Checks if the given digit is used in the encoding.
Definition: decimalbytecodec.cpp:65
virtual void removeLastDigit(Byte *byte) const
Tries to remove the last (least significant) digit from byte.
Definition: decimalbytecodec.cpp:98
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.