Package bencoding supports simple parser and renderer for bencoding. Its interface is inspired by encoding/xml and encoding/json.