Click here to Skip to main content
15,843,031 members
Articles / Programming Languages / C++

Using MemoryStream to Wrap Existing Buffers: Gotchas and Tips

Rate me:
Please Sign up or sign in to vote.
5.00/5 (11 votes)
23 Oct 2014CPOL5 min read 23.8K   11  
Using MemoryStream to wrap existing buffers: Gotchas and tips


Daily Counts


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

Written By
Software Developer (Senior) Microsoft
United States United States
Ben Watson has been a software engineer at Microsoft since 2008. On the Bing platform team, he has built one of the world's leading .NET-based, high-performance server applications, handling high-volume, low-latency requests across thousands of machines for millions of customers. In his spare time, he enjoys geocaching, books of all kinds, classical music, and spending time with his family. He is the author of Writing High-Performance .NET Code and C# 4.0 How-To. He blogs at Philosophical Geek.

Comments and Discussions