logo       

Re: Converting a MemoryStream to a String: msg#00069

Subject: Re: Converting a MemoryStream to a String
Woops, looks like that doesn't work.  I get an "Argument 
type 'System.IO.MemoryStream' is not assignable to parameter type 'byte
[]'" message.  

--- In padnug@xxxxxxxxxxxxxxx, "Sonny N." <javabrewery@...> wrote:
>
> Encoding.UTF8.GetString(sContents)
> 
> --- "Keith R. Pinster" <dimondwoof@...> wrote:
> 
> > I've been banging my head against this for a couple
> > of hours and just 
> > can't figure it out.  I've got an object that dumps
> > it's result into a 
> > MemoryStream object.  Can someone tell me how to
> > convert this to a 
> > string?
> > 
> > Thanks
> > KRP






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/dpFolB/TM
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>