Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }