I think you'll have to do this yourself.  Why don't you just write the objects 
to a ByteArrayOutputStream.

Aaron

--- On Tue, 8/25/09, Jeffrey Kesselman <jef...@gmail.com> wrote:

> From: Jeffrey Kesselman <jef...@gmail.com>
> Subject: Can i store and fetchr aw blocks of bytes?
> To: "JCS Users List" <jcs-users@jakarta.apache.org>
> Date: Tuesday, August 25, 2009, 6:06 PM
> Hi Guys,
> 
> Im trying to mate JCS at the moment with another system
> that expects to
> access data as bytes vi a URL.  As sun Im writing a
> jcs protocol handler.
> 
> The problem is that, as alluded to above, a protocl handler
> expcts to hand
> back its data as a byte stream.
> 
> Is there a way to push thinsg into and take thinsg otu of
> the JCS cache as
> blocks of bytes?
> -- 
> ~~ Microsoft help desk says: reply hazy, ask again later.
> ~~
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jcs-users-h...@jakarta.apache.org

Reply via email to