public static NameVersion Deserialize(IInOctetStream stream)
        {
            var name = StringDeserializer.Deserialize(stream);

            var version = VersionDeserializer.Deserialize(stream);

            return(new NameVersion(name, version));
        }
        public static Version Deserialize(IInOctetStream stream)
        {
            var major = stream.ReadUint16();
            var minor = stream.ReadUint16();
            var patch = stream.ReadUint16();

            var prerelease = StringDeserializer.Deserialize(stream);

            return(new Version(major, minor, patch, prerelease));
        }