Reputation: 3586
What's the easiest way to do this with a normal memorystream? Aside from creating 2 streams.
Upvotes: 1
Views: 2297
Reputation: 887449
The simplest option is to use a List<byte>
instead of a MemoryStream
and call the InsertRange
method.
Upvotes: 2