Top "Memorystream" questions

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

MemoryStream disables reading when returned

In my program, I am basically reading in a file, doing some processing to it, and then passing it back …

c# stream memorystream
Include from "php://memory" stream

I'm writing a system for a browser application that will store some particular php scripts in a database and then …

php include memorystream
Why does C# memory stream reserve so much memory?

Our software is decompressing certain byte data through a GZipStream, which reads data from a MemoryStream. These data are decompressed …

c# memory memory-management memorystream gzipstream
Download blob storage and return Json object

I am trying to download a .json blob that I have stored in a container in the Azure Storage using …

c# json azure azure-storage-blobs memorystream
Excel and "unreadable content" when creating an Open XML spreadsheet with MemoryStream

When creating an Excel spreadsheet using the Open XML SDK v2.0, our Excel output initially worked successfully for a number …

xml excel openxml openxml-sdk memorystream
C# to Java: Base64String, MemoryStream, GZipStream

I have a Base64 string that's been gzipped in .NET and I would like to convert it back into a …

c# java memorystream gzipstream gzipinputstream
MemoryStream have one thread write to it and another read

This is how I write to a stream then read from it using 1 thread: System.IO.MemoryStream ms = new System.…

c# multithreading stream memorystream
Does a MemoryStream get disposed of automatically when returning it as an ActionResult?

public ActionResult CustomChart(int reportID) { Chart chart = new Chart(); // Save the chart to a MemoryStream var imgStream = new MemoryStream(); chart.…

c# jquery asp.net-mvc using memorystream
MemoryStream usage leads to out of memory exception

I'am facing issues when using MemoryStream multiple times. Example: For Each XImage As XImage In pdfDocument.Pages(pageCount).Resources.Images …

.net vb.net memorystream
How can I pass MemoryStream data to unmanaged C++ DLL using P/Invoke

I need your help with the following scenario: I am reading some data from hardware into a MemoryStream (C#) and …

c# c++ parameter-passing memorystream