Commit graph

10 commits

Author SHA1 Message Date
Jack Palevich
5c36da2622 Hide Builder, StringValue, and StringValueArray types.
No need to export these types.
2012-09-15 19:46:44 -07:00
Jack Palevich
9b44363a13 Remove our own buffered Reader interface in favor of bufio.Reader 2012-09-15 19:39:35 -07:00
Jack Palevich
b4ca4a1e0b Fix documentation.
Hide non-essential types and functions.
2012-09-15 19:00:31 -07:00
Yves Junqueira
5c02c4aa77 Update bencode for weekly.2011-12-06 2011-12-17 20:36:20 +01:00
Chidambaram Annamalai
68da078750 Fixes for latest version of Go (2011 Feb)
- bytes.AddBytes replaced by append()
- reflect.ArrayCopy renamed to reflect.Copy
2011-02-12 13:47:47 +05:30
Yves Junqueira
f3b38a06e5 Small fix on bencode parse.go 2010-07-25 20:32:08 +01:00
Yves Junqueira
56e375d053 Fixing other potential problems related to redeclaring err within a inner block. Also changing harmless look-alike cases for style consistency 2010-07-25 15:30:32 +01:00
Jack Palevich
2532a37945 Handle zero-length strings in bencode data.
Improve error reporting slightly.
2010-04-22 20:32:37 +08:00
Jack Palevich
bd0555a835 Fix bugs in error reporting when parsing bad bencode data.
Discovered when trying to parse a truncated torrent file.
2010-01-23 15:48:21 +08:00
Jack Palevich
0804ed1920 Initial commit 2010-01-06 23:38:33 +08:00