View Full Version : Base64 vs Binay File format
rmagro
6th February 2009, 13:44
Hi All,
Does some easy way exist to check if a file is in base64 or binary format?
Thank you very mutch,
Roby
wysota
6th February 2009, 15:23
Base64 contains only printable characters (32-127 ascii).
rmagro
6th February 2009, 15:55
This mean I should read the file and check for characters outside (32-127 ascii) ..
??
Thank you
rmagro
6th February 2009, 16:39
anyway guys,
is it correct to say that ..
to see if a file is a binary one we just need to look for "\x00", because it would inevitable have it ??
Thank you for yor kin reply...
Roby
aamer4yu
6th February 2009, 17:17
is it correct to say that ..
to see if a file is a binary one we just need to look for "\x00",
May it wud be correct to say that -- it is not a base64 file. However you may not confirm if its a binary file. Different files have different signatures.
What do u want to achieve ?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.