Commit graph

10 commits

Author SHA1 Message Date
Yves Junqueira
cf16bc67de Start fixing TestUnmarshal.
Fixed unmarshalling for int, strings and slices. TODO: Fix maps.

Related to issue #4.
2012-07-16 02:29:17 +02: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
f329c5064b gofmt 2010-07-11 01:06:14 +02:00
Michael Meier
9e6ae66fe5 make bencode adhere to new reflection interface 2010-06-29 01:07:52 +02:00
Jack Palevich
d48a378005 Another gofmt pass. 2010-01-21 14:39:57 +08:00
Jack Palevich
f81cd34e34 Skip nil values when marshaling. 2010-01-20 23:20:25 +08:00
Jack Palevich
b1f8c9d7a7 Run code through gofmt. 2010-01-20 12:53:53 +08: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