QWspPduDecoder Class Reference
|
Constant | Value | Description |
---|---|---|
QWspPduDecoder::OK | 0 | The stream is OK. |
QWspPduDecoder::Unhandled | 1 | The stream contains data that cannot be handled. |
QWspPduDecoder::Eof | 2 | End of file was reached before the real end of the message. |
QWspPduDecoder::Fatal | 3 | The stream contains data that caused a fatal parse error. |
Construct a WSP PDU decoder to decode the data from d.
Destroy this WSP PDU decoder.
Decode a content type value from the input data stream.
Decode the content type and headers from the input data stream. The hdrLen parameter indicates the number of bytes within the block that holds the content type and headers. The part parameter indicates the object to place the content type and header information into.
Decode an encoded string from the input data stream.
Decode a field declaration consisting of a name and a value from the input data stream.
Decode either a short integer or a long integer, depending upon whether the first byte has the high bit set (short) or unset (long).
See also decodeShortInteger() and decodeLongInteger().
Decode a length value from the input data stream. Leading byte values between 0 and 30 indicate an explicit length. A leading byte value of 31 indicates that a variable-length integer follows.
See also decodeUIntVar().
Decode a long integer value from the input data stream. Long integers start with a byte indicating the length of the integer encoding, followed by that many bytes from most significant onwards.
Decode a multipart content block from the input data stream.
Decode the next octet from the input data stream.
Decode a parameter value from the input data stream.
Decode a single WSP part from an input data stream.
Decode a WSP push datagram from an input data stream.
Decode a short integer value from the input data stream. Short integers are between 0 and 127, and have the high bit set to indicate "short".
Decode a text string from the input data stream.
Decode a token text value from the input data stream.
Decode an unsigned 8-bit integer from the input data stream.
Decode an unsigned 16-bit integer from the input data stream.
Decode an unsigned 32-bit integer from the input data stream.
Decode an unsigned 32-bit integer from the input data stream that is encoded with the variable-length WSP encoding.
Decode a version indicator from the input data stream.
Get the device that this WSP PDU decoder is reading from.
Peek at the next octet in the input data stream.
Signal that is emitted when the WSP PDU decoder wants to change the header code page. Slots that are connected to this signal should call setHeaderCodec() to select the correct codec.
Set the header codec, that converts byte values into string names, to c.
Set the status of the input stream to s.
See also status().
Get the current status of the input stream.
See also setStatus().
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com