Link to home
Start Free TrialLog in
Avatar of Ruttensoft
Ruttensoft

asked on

StreamWriter.Write: Not possible to write byte array? Only Char array?

Hello

I need to write an array to a file with StreamWriter. I am now using a Char Array as StreamWriter.write does only support char arrays, not byte arrays...

Now how can I flush the char array when I dont need it anymore?

Thanks

Sven
ASKER CERTIFIED SOLUTION
Avatar of Solar_Flare
Solar_Flare

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ruttensoft
Ruttensoft

ASKER

Thnx a lot for your answers, actually chararray = nothing is all I needed!