FedP2P/bencode
Matt Joiner 28c1536daf bencode: When decoding a dict, if the final key is missing its value, don't treat that as an error.
I think I'm swayed here by the robustness principle/Postel's Law.
2015-10-02 00:13:43 +10: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 Fix bugs, implement missing bits. Made a mess, can't describe properly. 2012-06-28 02:21:26 +06:00
encode_test.go bencode: gofmt 2015-04-30 00:36:25 +10: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.