Thanks to visit codestin.com Credit goes to chromium.googlesource.com
Bencode is a library for encoding/decoding bencoded data into Go data structures. The api is designed to be similar to the JSON api in the Go standard library.
Documentation at http://godoc.org/github.com/zeebo/bencode