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
Post a Comment