|
|
|
|
|
|
|
| Documentation |
|
| data Torrent |
| Constructors | | Torrent | | | tAnnounce :: ByteString | | | tAnnounceList :: [ByteString] | | | tComment :: ByteString | | | tCreatedBy :: (Maybe ByteString) | | | tInfo :: TorrentInfo | | | tInfoHash :: ByteString | |
|
| Instances | |
|
|
| data TorrentInfo |
| Constructors | | SingleFile | | | tLength :: Int | | | tName :: ByteString | | | tPieceLength :: Int | | | tPieces :: ByteString | |
| | MultiFile | | | tFiles :: [TorrentFile] | | | tName :: ByteString | | | tPieceLength :: Int | | | tPieces :: ByteString | |
|
| Instances | |
|
|
| data TorrentFile |
| Constructors | | TorrentFile | | | fileLength :: Int | | | filePath :: [ByteString] | |
|
| Instances | |
|
|
| readTorrent :: ByteString -> Either String Torrent |
|
| serializeTorrent :: Torrent -> BEncode |
|
| torrentSize :: Torrent -> Int |
|
| Produced by Haddock version 0.8 |