D
Daniel von Fersen
When I want to Read the Bytes 1000-2000 from a Stream into a ByteArray using
Stream.Read(byteArray,1000,2000)
they are written to the positions 1000-2000 in the byteArray.
but my Array is only 1000 items long Array(0-999), and i just want to have
the positions 1000-2000 from the stream!
How can i realize it that the bytes 1000-2000 are written to an Array of
length=1000
PS: The Stream is reading from the Internet
Thanx in advice
Stream.Read(byteArray,1000,2000)
they are written to the positions 1000-2000 in the byteArray.
but my Array is only 1000 items long Array(0-999), and i just want to have
the positions 1000-2000 from the stream!
How can i realize it that the bytes 1000-2000 are written to an Array of
length=1000
PS: The Stream is reading from the Internet
Thanx in advice