zeebo/bencode — pull request #8 by deoxxa (2014-08-18 15:38:27+00:00)
Title: add BytesParsed method to Decoder

This is useful for parsing the content of ut_metadata packets. They contain a bencoded value, then arbitrary data, which is all slurped up by the bufio stuff. This lets me figoure out at what position the bencoded data ends and the content begins.