> don't have control over its structure or the like). My
> thought was, if you/MM have a way/algorithm, that is, BASE64
> to convert binary data, you should also know if a set of data
> has been "BASE64"ed with the same algorithm in a reverse
> fasion, so, a function like IsBase64 would be very helpful.
I don't think that's how base 64 encoding works. To the best of my
knowledge, base 64 encoding simply uses a subset of ASCII characters to
represent binary data. I could type a bunch of characters in using those
characters, and convert it to binary data, although it might not represent
something useful.
I'm oversimplifying a bit here, I suspect, since there are limitations on
the number of characters per line requiring hard returns within the data,
you'd have a certain number of characters, and so on, but the fundamental
problem remains, I think.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

