1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
5 \page datastreamformat.html
6 \title Serializing Qt Data Types
7 \brief List of data types that can be serialized by QDataStream.
9 The \l QDataStream class allows you to serialize the Qt data types
10 listed in this section.
12 It is always best to cast integers to a Qt integer type, such as
13 \l{qint16} or \l{quint32}, when reading and writing. This ensures that
14 you always know exactly what size integers you are reading and
15 writing, no matter what the underlying platform and architecture
16 the application happens to be running on.
57 \li QRegularExpression
70 \sa {JSON Support in Qt}, {CBOR Support in Qt}