© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
15mo ago
•
5 replies
cheeze2000
✅ MemoryStream question
If I have a byte
[
]
, and I
'm instantiating a MemoryStream with this byte array
, does it occupy twice the memory
? Or is the MemoryStream simply referring to the byte array instead of copying the contents in the array
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Problem storing iText7 pdf in a memoryStream
C
C# / help
13mo ago
Iterating over AsyncEnumerable and writing to MemoryStream
C
C# / help
3y ago
❔ Load Certificate from Azure Key Vault as memorystream
C
C# / help
3y ago
Can't read from MemoryStream from current position
C
C# / help
3y ago