lars1/NBEncode — pull request #1 by FlipB (2014-03-09 20:36:16+00:00)
Title: Fixed bug where objects following dictionary objects were lost.

I tried decoding and reencoding a torrent file - it didn't work, an element in the list was lost. I found the bug and fixed it.

You can try yourself with the following byte array "ld3:stri10e4:str2l4:itemee5:item15:item2e". Without this patch the string "item1" will be lost.

// Flip