public void AddToByteSteam(ByteStream stream) { if (stream == null) throw new ArgumentException("null stream"); //Log.Trace(String.Format("serializing TypeName \"{0}\"",TypeName), "AddToByteSteam"); stream.addString(TypeName); //Log.Trace(String.Format("serializing SubtypeName \"{0}\"", SubtypeName), "AddToByteSteam"); stream.addString(SubtypeName); //Log.Trace(String.Format("serializing Count \"{0}\"", Count), "AddToByteSteam"); stream.addDouble(Count); }
public void AddToByteSteam(ByteStream stream) { if (stream == null) throw new ArgumentException("null stream"); stream.addUShort(Major); stream.addUShort(Minor); stream.addUShort(Patch); stream.addString(GitSHA); }