Magnet struct which represents Magnet URI.
Magnet
Decodes a Magnet URI to a Magnet struct.
Encodes a Magnet struct to a Magnet URI.