Re: Streams




Richard wrote:
> Or, Would it be better to use a stream from the get go? I could add a
> record to a MemoryStream 1 at a time then process it when I need to.

It sounds liek it. Better yet many compression utilities offer a
compressed stream which goes straight into the zip file.

--
Marc Rohloff

.



Relevant Pages

  • Re: serialize a file which is stored in a memorystream object
    ... stream can indeed be serialised and deserialised by the binary formatter. ... msgData, Int32 type) ... I have a property that returns a memorystream that has had a file loaded ... BinaryFormatter objSerializer = new BinaryFormatter; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: For Geeks: SoapExtensions
    ... Stream oldStream; ... public override object GetInitializer(LogicalMethodInfo methodInfo, ... private MemoryStream EncryptSoap ... MemoryStream ms = new MemoryStream; ...
    (microsoft.public.dotnet.framework.webservices)
  • For Geeks: SoapExtensions
    ... Stream oldStream; ... public override object GetInitializer(LogicalMethodInfo methodInfo, ... private MemoryStream EncryptSoap ... MemoryStream ms = new MemoryStream; ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Reading 8 bit chars off a stream
    ... You might want to consider a MemoryStream instead of a Listto ... stream internally, and if the device isn't going to offer up anything past ... data packet are null terminted. ... Encoding to get the string. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Pipeline question
    ... If you are constructing the entire memory stream and then setting the ... the output xml doc has mothing in it. ... > MemoryStream s = new MemoryStream; ... >>>When I say, xmldoc.save, the modified xml wasnt get stored in ...
    (microsoft.public.biztalk.general)