Click here to Skip to main content
15,860,859 members
Home / Discussions / C#
   

C#

 
AnswerRe: Writing and Reading on MemoryStream? Pin
leppie19-Apr-05 5:13
leppie19-Apr-05 5:13 
GeneralRe: Writing and Reading on MemoryStream? Pin
Snowjim19-Apr-05 5:28
Snowjim19-Apr-05 5:28 
GeneralRe: Writing and Reading on MemoryStream? Pin
Stefan Troschuetz19-Apr-05 8:43
Stefan Troschuetz19-Apr-05 8:43 
GeneralRe: Writing and Reading on MemoryStream? Pin
Stefan Troschuetz19-Apr-05 8:44
Stefan Troschuetz19-Apr-05 8:44 
GeneralRe: Writing and Reading on MemoryStream? Pin
Snowjim19-Apr-05 9:03
Snowjim19-Apr-05 9:03 
GeneralRe: Writing and Reading on MemoryStream? Pin
Stefan Troschuetz19-Apr-05 9:12
Stefan Troschuetz19-Apr-05 9:12 
GeneralRe: Writing and Reading on MemoryStream? Pin
Scott Serl19-Apr-05 9:40
Scott Serl19-Apr-05 9:40 
GeneralRe: Writing and Reading on MemoryStream? Pin
Snowjim19-Apr-05 10:16
Snowjim19-Apr-05 10:16 
Yes, the Length and position is not moved when writing to it!

Also, if i write to the stream, then the position will be set where the writer ends(say it writes 32 byt and stops on position 31), when i need to read it will read position 32 and forth.
I need it to read from position 0, and to manage this i will have to change the position. But if my unit that writes to this stream needs to write then the position will be pointing on the wrong element if i havent read throw all the elements with my reading unit.

How is this sopose to work?

I need the writing unit to write in a line and i need the reading unit to read any not readed data from the beginning and discarding the readed data. Is this not realy how the stream work?

Best Regards
Jimmy
GeneralRe: Writing and Reading on MemoryStream? Pin
Scott Serl19-Apr-05 11:35
Scott Serl19-Apr-05 11:35 
GeneralRe: Writing and Reading on MemoryStream? Pin
Snowjim20-Apr-05 3:50
Snowjim20-Apr-05 3:50 
GeneralRe: Writing and Reading on MemoryStream? Pin
Scott Serl20-Apr-05 8:29
Scott Serl20-Apr-05 8:29 
GeneralRe: Writing and Reading on MemoryStream? Pin
Snowjim20-Apr-05 8:40
Snowjim20-Apr-05 8:40 
GeneralRe: Writing and Reading on MemoryStream? Pin
Scott Serl20-Apr-05 11:04
Scott Serl20-Apr-05 11:04 
GeneralRe: Writing and Reading on MemoryStream? Pin
Snowjim20-Apr-05 11:42
Snowjim20-Apr-05 11:42 
GeneralRe: Writing and Reading on MemoryStream? Pin
Scott Serl21-Apr-05 8:22
Scott Serl21-Apr-05 8:22 
GeneralCrystalReports From Pull -> Push Pin
V.18-Apr-05 23:49
professionalV.18-Apr-05 23:49 
GeneralFilling the Textbox Pin
Anonymous18-Apr-05 23:36
Anonymous18-Apr-05 23:36 
Generalplease help me with this Pin
snouto18-Apr-05 23:28
snouto18-Apr-05 23:28 
GeneralRe: please help me with this Pin
S. Senthil Kumar19-Apr-05 0:52
S. Senthil Kumar19-Apr-05 0:52 
GeneralTransparent ListBoxes Pin
zagzagzag18-Apr-05 23:24
zagzagzag18-Apr-05 23:24 
GeneralRe: Transparent ListBoxes Pin
Anonymous19-Apr-05 1:05
Anonymous19-Apr-05 1:05 
GeneralRe: Transparent ListBoxes Pin
Dave Kreskowiak19-Apr-05 4:19
mveDave Kreskowiak19-Apr-05 4:19 
GeneralRe: Transparent ListBoxes Pin
zagzagzag19-Apr-05 9:10
zagzagzag19-Apr-05 9:10 
GeneralMusic Programming Pin
Deniz Oflaz18-Apr-05 23:11
Deniz Oflaz18-Apr-05 23:11 
GeneralRe: Music Programming Pin
pjc*19-Apr-05 3:27
pjc*19-Apr-05 3:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.