Click here to Skip to main content
15,867,750 members
Articles / Programming Languages / C#

A replacement for MemoryStream

Rate me:
Please Sign up or sign in to vote.
4.93/5 (76 votes)
19 Mar 2012CPOL7 min read 189.8K   4.8K   143  
Explains the cause of the OutOfMemoryExceptions which commonly occur when using MemoryStream, and introduces a replacement which uses a dynamic list of memory segments as a backing store, as opposed to a single array, making it more resilient with large datasets.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions