Various utility functions for making sense of .torrent files