Beispiel #1
0
        public AppVersion(ByteStream stream)
        {
            if (stream == null) throw new ArgumentException("null stream");

            Major = stream.getUShort();
            Minor = stream.getUShort();
            Patch = stream.getUShort();
            GitSHA = stream.getString();
        }
        public ItemCountAggregateDefinition(ByteStream stream)
        {
            if (stream == null) throw new ArgumentException("null stream");

            ushort len = stream.getUShort();
            for (ushort i = 0; i < len; ++i) {
                Counts.Add(new ItemCountDefinition(stream));
            }
        }