parseClientInfo

Structured peer-id fingerprint extraction: the port of libtorrent's client_fingerprint. Recognises only the three well-formed styles (Azureus, Shadow, Mainline) and returns null for everything else (including the non-standard special cases that identifyClient still names).

Return

a ClientInfo for a recognised style, or null.

Parameters

peerId

the 20-byte peer-id.