public void Write(Pip pip) { Contract.Requires(pip != null); Start <Pip>(); pip.Serialize(this); End(); }
private void SerializePip(PipWriter writer, Pip pip) { pip.Serialize(writer); pip.PipId.Serialize(writer); Stats.Increment(pip, serialize: true); }