Commit graph

7 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
b4ca4a1e0b Fix documentation.
Hide non-essential types and functions.
2012-09-15 19:00:31 -07:00
Uriel
a704418110 There is some kind of off-by-one bug here and we end up with nils in the
slice.

I'm not sure exactly what the error is, but this code seems to be
ancient and predate the invention of append(), I replaced it with a call
to append() and seems to work fine.

Leaving the code commented out because I'm not satisified I understand
it.
2012-09-03 02:45:23 +02:00
Yves Junqueira
5c02c4aa77 Update bencode for weekly.2011-12-06 2011-12-17 20:36:20 +01:00
Yves Junqueira
af804a47fa Fix build problem with recent go release: vector Data() was renamed to Copy(). Also changed our own decoder method to reflect this. 2010-07-21 11:28:50 +01:00
Jack Palevich
f980a9f931 Make it a runtime error to try and unmarshal into a value.
Thanks to Rob Pike for the suggestion and code.
2010-01-07 12:11:33 +08:00
Jack Palevich
0804ed1920 Initial commit 2010-01-06 23:38:33 +08:00