base64 encoding

I am designing a base64 encoder and am confused about what to do after 76 characters. Should I:

1) insert \r\n and encode that in base64?
2) Insert CRLF and encode that in base64?
3) Insert one of the above unencoded?

What values should be used for the characters above?

regards

Jose 

Received on Saturday, 27 July 2002 22:20:52 UTC