c# - A stream type that supports partial viewing in .Net -



c# - A stream type that supports partial viewing in .Net -

i'm working on file reader custom file format. part of format following:

[header] ... [embedded_resource_1] [embedded_resource_2] [embedded_resource_3] ...

now i'm trying open new stream boundaries 1 resource, instance embedded_resource_1's first byte @ 100th byte , length 200 bytes boundaries 100 - 300. there way without using buffers?

thanks!

alternatively - memorystream. before reading necessary number of bytes set initial position of position property - position.

but necessary read entire file memorystream.

c# .net stream

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -