Sane C++ Libraries
C++ Platform Abstraction Libraries
SerializationBinaryOptions.h
1// Copyright (c) Stefano Cristiano
2// SPDX-License-Identifier: MIT
3#pragma once
4namespace SC
5{
6
9
12{
17};
18
20
21} // namespace SC
Conversion options for the binary versioned deserializer.
Definition: SerializationBinaryOptions.h:12
bool allowDropExcessStructMembers
Can drop fields not matching any memberTag in destination struct.
Definition: SerializationBinaryOptions.h:15
bool allowDropExcessArrayItems
Can drop array items if destination array is smaller.
Definition: SerializationBinaryOptions.h:14
bool allowFloatToIntTruncation
Can truncate a float to get an integer value.
Definition: SerializationBinaryOptions.h:13
bool allowBoolConversions
Can convert bool to and from other primitive types (int / floats)
Definition: SerializationBinaryOptions.h:16