parseVersion

Parse a wire string into a ProtocolVersion, or throw if unknown.

@safe pure
parseVersion
(
string s
)