コード例 #1
0
 public void Save(BinarySerializer writer)
 {
     writer.WriteDouble(BinWidth);
     writer.WriteDouble(MinValue);
     writer.WriteDouble(MaxValue);
     writer.WriteInt(NumOfDimensions);
     writer.WriteInt(mDimensionBinCount);
     writer.WriteInt(mBinCount);
     writer.WriteInt(mDimensionSteps.Length);
     foreach (int step in mDimensionSteps)
     {
         writer.WriteInt(step);
     }
     mBins.Save(writer);
 }