protected override void ResetObject(object obj)
        {
            RequestCorrelatorHDR hdr = obj as RequestCorrelatorHDR;

            if (hdr != null)
            {
                hdr.Reset();
            }
        }
        public static RequestCorrelatorHDR ReadCorHeader(CompactReader reader)
        {
            byte isNull = reader.ReadByte();

            if (isNull == 1)
            {
                return(null);
            }
            RequestCorrelatorHDR newHdr = new RequestCorrelatorHDR();

            newHdr.Deserialize(reader);
            return(newHdr);
        }
        public static void WriteCorHeader(CompactWriter writer, RequestCorrelatorHDR hdr)
        {
            byte isNull = 1;

            if (hdr == null)
            {
                writer.Write(isNull);
            }
            else
            {
                isNull = 0;
                writer.Write(isNull);
                hdr.Serialize(writer);
            }
            return;
        }