Qt 데이터 유형의 직렬화

QDataStream 클래스를 사용하면 이 섹션에 나열된 Qt 데이터 유형을 시리얼화할 수 있습니다.

읽기 및 쓰기 시 정수를 qint16 나 quint32 과 같은 Qt 정수 유형으로 형변환하는 것이 항상 가장 좋습니다. 이렇게 하면 애플리케이션이 어떤 기본 플랫폼과 아키텍처에서 실행되든 상관없이, 읽고 쓰는 정수의 크기를 항상 정확히 파악할 수 있습니다.

Qt의 JSON 지원 및 Qt의 CBOR 지원항목도 참조하십시오 .

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.