On Tue, 15 Oct 2013 01:36:43 GMT, Mike wrote:

Thanks for adding base64outputstream. However, I'm having trouble getting the value from Redis.

I've tried
auto test = redis.get!(char[], char)("image"~to!string(x));
but i'm not getting all the data i need to redraw the image

And these both throw errors
auto test = redis.getRange!(char[], char)("image"~to!string(x), 1, 10);
auto test = redis.getRange!(ubyte[], ubyte)("image"~to!string(x), 1, 10);

That's really hard to tell from the distance (plus unfortunately I haven't personally used Redis up to now). Can you upload the source code of the project somewhere by any chance, or is it closed source?

Otherwise I'd first try to isolate the cause by checking if directly decoding the base64 encoded string results in a proper image and by checking if the data that is sent to Redis is exactly what comes out. That is, if you haven't done so already, of course.