streamwriter buffer size

G

Guoqi Zheng

Sir,

I need to decode a UUencode string to a binary file. I use below to creat
the binary file. However, how can I know what the buffer size is?

outWriter = New StreamWriter(New FileStream(FullFileName,
FileMode.OpenOrCreate, FileAccess.Write), Encoding.Default, _Buffer_size)


--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
 
H

Herfried K. Wagner [MVP]

* "Guoqi Zheng said:
I need to decode a UUencode string to a binary file. I use below to creat
the binary file. However, how can I know what the buffer size is?

outWriter = New StreamWriter(New FileStream(FullFileName,
FileMode.OpenOrCreate, FileAccess.Write), Encoding.Default, _Buffer_size)

There are other overloads for the ctor that do not require you to
specify the buffer size.
 
G

Guoqi Zheng

Thanks for your reply.

yes, I saw an image in UUencode format.

I saw this. begin 666 Quickwatch.JPG

More often, I saw it start with "begin 664". What string can I use to
determine that there is a UUencoded attachment?

--
Kind regards

Guoqi Zheng
guoqi AT meetholland dot com
Http://www.meetholland.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top