redis_protocol_transformer library
This is a StreamTransformer
for redis Socket replies.
It converts a binary stream from a redis socket to RedisReply objects.
You can use the transformer in a Socket like this:
socket.transform(new RedisProtocolTransformer()).listen((RedisReply reply) { });
There are five types of RedisReplys: