FedP2P/bencode
Matt Joiner 4b539b1f11 bencode: Don't skip encoding nil pointers and interfaces
This caused an annoying bug for complex types where dictionary values went missing.
2015-10-19 01:28:36 +11:00
..
_testdata Add first bits of "torrent" library (.torrent file manipulation). 2012-06-28 02:26:56 +06:00
README Initial commit. 2012-06-20 19:21:32 +06:00
api.go Revert "bencode: Trailing bytes on Unmarshal is an error" 2015-08-23 19:10:22 +10:00
both_test.go Fix bugs, implement missing bits. Made a mess, can't describe properly. 2012-06-28 02:21:26 +06:00
decode.go bencode: When decoding a dict, if the final key is missing its value, don't treat that as an error. 2015-10-02 00:13:43 +10:00
decode_test.go bencode: When decoding a dict, if the final key is missing its value, don't treat that as an error. 2015-10-02 00:13:43 +10:00
encode.go bencode: Don't skip encoding nil pointers and interfaces 2015-10-19 01:28:36 +11:00
encode_test.go bencode: Don't skip encoding nil pointers and interfaces 2015-10-19 01:28:36 +11:00
fuzz.go bencode: Fuzz 2015-08-23 15:59:49 +10:00
tags.go Initial commit. 2012-06-20 19:21:32 +06:00

README

Bencode encoding/decoding sub package. Uses similar API design to Go's json package.