A go bencode serialization library could be smaller if it just serialized the bencode data to and from a generic dictionary container. I think another go BitTorrent client, gobit, takes this approach. But it's…
Hey, good point! I think the best thing to do would be to send a message to an error channel before returning. I'll add that. For what it's worth I don't think exceptions would help here -- this is the top level…
A go bencode serialization library could be smaller if it just serialized the bencode data to and from a generic dictionary container. I think another go BitTorrent client, gobit, takes this approach. But it's…
Hey, good point! I think the best thing to do would be to send a message to an error channel before returning. I'll add that. For what it's worth I don't think exceptions would help here -- this is the top level…