public static void Write(IBinaryWriter o, Kernel.Config.FieldLayoutOfIntKey d)
        {
            o.Write(d != null);
            if (d == null)
            {
                return;
            }

            Dictionary_Int32_Int32Serializer.Write(o, d.ElemOffset);
            o.Write((int)d.Mode);
            o.Write(d.Offset);
            o.Write(d.Size);
        }
        public static Kernel.Config.FieldLayoutOfIntKey Read(IBinaryReader o, Kernel.Config.FieldLayoutOfIntKey d)
        {
            if (o.ReadBoolean() == false)
            {
                return(null);
            }

            if (d == null)
            {
                d = new Kernel.Config.FieldLayoutOfIntKey();
            }
            d.ElemOffset = Dictionary_Int32_Int32Serializer.Read(o, d.ElemOffset as System.Collections.Generic.Dictionary <int, int>);
            d.Mode       = (Kernel.Config.ConfigFieldInfo.Mode)o.ReadInt32();
            d.Offset     = o.ReadInt32();
            d.Size       = o.ReadInt32();
            return(d);
        }