Top "Memorystream" questions

A memory stream is a kind of stream that has several methods to access and store data in memory.

MemoryStream, Cannot access a closed stream

With the sharpPDF library I generate a pdf memory stream, and I want to send it directly via email. But …

.net pdf-generation memorystream sharppdf
vb.net image save to memory stream results in an ArgumentNullException

In VB.NET I have the following function that allows me to calculate a hash for an image I have …

vb.net image memorystream argumentnullexception
.NET MemoryStream - Should I set the capacity?

This is probably a really simple question, I think all that I am after is Best Practice for declaring a …

.net memorystream
Google Protocol Buffers - serialize to byte array

I'm following the tutorial for using Google Protocol Buffers for C#. I don't see an example for converting an object …

c# serialization memorystream protocol-buffers
What is the difference between calling Stream.Write and using a StreamWriter?

What is the difference between instantiating a Stream object, such as MemoryStream and calling the memoryStream.Write() method to write …

c# memorystream streamwriter
MemoryStream.WriteTo(Stream destinationStream) versus Stream.CopyTo(Stream destinationStream)

Which one is better : MemoryStream.WriteTo(Stream destinationStream) or Stream.CopyTo(Stream destinationStream)?? I am talking about the comparison of …

c# .net stream memorystream
Quick way to get the contents of a MemoryStream as an ASCII string

I have a JSON string in a MemoryStream. I am using the following code to get it out as an …

c# string .net-4.0 bytearray memorystream
Convert from a DataUrl to an Image in C# and write a file with the bytes

Hello I have signature like this: which is encoded to a DataUrl specifically this string: "data:image/png;base64,iVBORw0…

c# .net xamarin memorystream xamarin.forms
How can I clone MemoryStream object?

I have a MemoryStream object which is passed by Stream type parameter (Stream is abstract class in C#). I want …

c# stream xmlreader memorystream
PdfReader from MemoryStream()

Can anyone give me an example of how to get a PdfReader from a MemoryStream? I can see that the …

c# itext memorystream pdf-reader