3 ms·
> You dont need the delimiter if you know, for each element, how big it is Do you seriously propose writing something like 2,7Sdata2,3Cfoo2,3Cbar2,4C12343
by Joker_vD 4y ago
> You dont need the delimiter if you know, for each element, how big it is
Do you seriously propose writing something like
2,7Sdata2,3Cfoo2,3Cbar2,4C12343,11Chello world2,7Cgoodbye2,7Chunter23,26Cswordfish is a red herring
instead of
data: string[7] = {
"foo",
"bar",
"1234",
"hello world",
"goodbye",
"hunter2",
"swordfish is a red herring",
}
? Thanks but no thanks, almost nobody likes to write Bencode by hand, just trust me.