That would be a good work-around. But, I don't have write access (gotta love all of these constraints. ;-) )
Cheers! Dave ----- Original Message ----- From: "Barry Kelly" <[EMAIL PROTECTED]> To: <ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> Sent: Thursday, July 06, 2006 3:20 PM Subject: Re: [ADVANCED-DOTNET] trim byte array dave wanta <[EMAIL PROTECTED]> wrote: > It's from a socket, so I don't know the size until i get the terminating > characters. You could probably consider streaming it to a temporary file, then, since I expect a download of many 100s of MB wouldn't be immediate. You wouldn't want many of those arrays hanging around during concurrent requests / responses etc. -- Barry -- http://barrkel.blogspot.com/ =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com