bencode

package module
v0.0.0-...-ca19077 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2015 License: MIT Imports: 4 Imported by: 0

README

Bencode GoDoc Build Status

Wikipedia about Bencode:

Bencode (pronounced like B encode) is the encoding used by the peer-to-peer
file sharing system BitTorrent for storing and transmitting loosely structured
data.

It supports four different types of values:

- byte strings,
- integers,
- lists, and
- dictionaries (associative arrays).

Bencoding is most commonly used in torrent files. These metadata files are
simply bencoded dictionaries.

For more information review the Bencode spec.

License

Bencode is licensed under MIT, for more information see LICENSE.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(reader io.Reader) (map[string]interface{}, error)

Decode decodes the bencoded data in the given reader

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL