Ejemplo n.º 1
0
        /// <summary>
        /// Serialises content to the writer
        /// </summary>
        public override void InternalToBinary(IBinaryRawWriter writer)
        {
            base.InternalToBinary(writer);

            VersionSerializationHelper.EmitVersionByte(writer, VERSION_NUMBER);

            writer.WriteLongArray(Counts);
            writer.WriteDouble(CellSize);
            writer.WriteInt(SummaryCellsScanned);
            writer.WriteInt(CellsScannedAtTarget);
            writer.WriteInt(CellsScannedOverTarget);
            writer.WriteInt(CellsScannedUnderTarget);
            writer.WriteBoolean(IsTargetValueConstant);
            writer.WriteBoolean(MissingTargetValue);
        }