コード例 #1
0
        public void Serialize <TDoc, TCursor>(IO.TagElementStream <TDoc, TCursor, string> s)
            where TDoc : class
            where TCursor : class
        {
            var system = KSoft.Debug.TypeCheck.CastReference <BlobSystem>(s.UserData);

            if (s.IsReading)
            {
                BlobGroup.SerializeVersionToBuildMapKey(s, (object)null,
                                                        ref mMajorVersion);
            }

            Engine.EngineBuildHandle.SerializeWithBaseline(s, system.RootBuildHandle, ref mBuildHandle);

            s.StreamAttributeOpt("forceLittleEndian", ref mForceLittleEndian, Predicates.IsTrue);
        }