package
1.0.2
Repository: https://github.com/fichain/go-file.git
Documentation: pkg.go.dev

# Functions

New returns a torrent from bencoded stream.
NewBytes creates a new torrent metadata file from given information.
NewInfo returns info from bencoded bytes in b.
NewInfoBytes creates a new Info dictionary by reading and hashing the files on the disk.

# Variables

Creator is the string that is put into the created torrent by NewBytes function.

# Structs

File represents a file inside a Torrent.
Info contains information about torrent.
MetaInfo file dictionary.