Hi,

I have an io.Reader whose content is encoded in base64 with encoding type 
unknown. Since there shouldn't be any ambiguity between the two, is it 
possible to make the base64 automatically pick the right one to decode?

Currently I have to read everything out to pin down the encoding, which 
defeats the purpose of using an io.Reader.

Is there a solution to this problem?

Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0ccee37d-319e-41b3-9bfd-3dc46e0fad78n%40googlegroups.com.

Reply via email to