4 ms·
I agree re: 1) -- Streams are pretty handy for normalizing raw binary wire protocol (dechunking, decompressing, etc) and ultimately turning the raw data into lo
by apaprocki 13y ago
I agree re: 1) -- Streams are pretty handy for normalizing raw binary wire protocol (dechunking, decompressing, etc) and ultimately turning the raw data into logical objects akin to structs for each layer in a protocol. I'm not sure why blending binary/objects isn't a more valid use case for lower-level protocol work. Using this paradigm, I found it really easy to make quick work of an existing binary protocol in nice discrete stream layers that could be combined as needed.