These are chat archives for ProtoDef-io/node-protodef

Dec 2015
Romain Beaumont
Dec 05 2015 00:49
Oh well, why do minecraft protocol add the size to the packet
this is useless
and this require to parse the whole packet at once
which I'd better avoid
except if we put the compression step as a ProtoDef type
and the length and all that bs
the fact that the protodef serializer is unaware of it makes it uselessly hard to write a streaming thing
I have to get the packet whole both way before doing anything
Romain Beaumont
Dec 05 2015 01:20
oh, it seems I can actually reimplement the splitter cleanly using my DataGetter class
I hope it's not going to end up being unusably slow