471,570 Members | 1,039 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 software developers and data experts.

How to readfile in a stream array

Hi !!
Could some one perhaps give me a bit more info on reading the data in a
stream?
We use readfile at the moment to get the data from a buffer from the port.
Would it be better to use a BinaryReader in some kind of way?
And how???

Regards,

Sebastiaan
Dec 14 '05 #1
2 1681
How you read a stream depends on what's in it. A stream represents a stream
of bits. It can be anything. What do you want it to be?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

"Sebastiaan" <st*********@hotmail.com> wrote in message
news:ea**************@tk2msftngp13.phx.gbl...
Hi !!
Could some one perhaps give me a bit more info on reading the data in a
stream?
We use readfile at the moment to get the data from a buffer from the port.
Would it be better to use a BinaryReader in some kind of way?
And how???

Regards,

Sebastiaan

Dec 14 '05 #2
Hi,

By default a stream is an array of bytes. so you can read it without much
problem

you need to be more precise with your problem

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Sebastiaan" <st*********@hotmail.com> wrote in message
news:ea**************@tk2msftngp13.phx.gbl...
Hi !!
Could some one perhaps give me a bit more info on reading the data in a
stream?
We use readfile at the moment to get the data from a buffer from the port.
Would it be better to use a BinaryReader in some kind of way?
And how???

Regards,

Sebastiaan

Dec 14 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Phil Powell | last post: by
1 post views Thread by Stu | last post: by
1 post views Thread by Jørn Dahl-Stamnes | last post: by
4 posts views Thread by Eric Renken | last post: by
nathj
5 posts views Thread by nathj | last post: by
15 posts views Thread by Ketchup | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.