© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
63 replies
Jake

Can't read from MemoryStream from current position

I am trying to decrypt a file in c# and I have the cipher in a memory stream alongside the key and iv. I want to only get the cipher which starts at 256, and after reading the Key and IV the position is 256. I have tried using memoryStream.toArray() but that ignores the position completely.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Read from memory stream at position
C#CC# / help
3y ago
✅ MemoryStream question
C#CC# / help
15mo ago
Can't read from file in same folder
C#CC# / help
2y ago
❔ Load Certificate from Azure Key Vault as memorystream
C#CC# / help
3y ago