I'm was messing around with some parsing of a binary file when I came across something I was wondering about.
The Stream.Position
property is of the type Int64
or long
. Why is this? Shouldn't it make more sense to use a UInt64
since the position in a stream can't be negative?
Anyone know what's the use of this being a signed long instead of an unsigned one?