torrent/bencode
Matt Joiner 727d002e5a bencode.Encoder: Unembed the Writer and wrap it in a minimal interface
I won't remove the bufio.Buffer for Marshal now, it isn't a performance issue as far as I can tell, and I'd have to fake Flush().
2016-06-15 15:09:34 +10:00
..
testdata bencode: Use the testdata convention in tests 2016-02-23 21:31:15 +11:00
README Initial commit. 2012-06-20 19:21:32 +06:00
api.go bencode.Encoder: Unembed the Writer and wrap it in a minimal interface 2016-06-15 15:09:34 +10:00
both_test.go bencode: Update some test code 2016-02-23 21:47:00 +11:00
decode.go bencode: Remove private types encoder and decoder 2016-06-15 15:00:51 +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.Encoder: Unembed the Writer and wrap it in a minimal interface 2016-06-15 15:09:34 +10:00
encode_test.go bencode: Encoding nil interfaces are an error except at data root 2015-10-23 12:35:38 +11:00
fuzz.go bencode: Fuzz 2015-08-23 15:59:49 +10:00
tags.go refactor struct identifiers to follow conventional go names 2016-04-18 23:11:11 -05:00

README

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