Is there any way to remove the extra 6 bytes that are put in the begin of the serialization data when serializing with Boost Serialization ? I just want to use the serialization mechanism, I don't want any version, object tracking or any other header information.
I solved my problem using the implementation level:
BOOST_CLASS_IMPLEMENTATION(MyClass, boost::serialization::object_serializable);
By doing this, the serialization will not include the version in front of the raw serialized data.