Inspecting BINs

30.4.2024
Inspecting BINs

BCD325P2



BCD996P2




BCD160DN

 

BCD260DN


 




            byte[] file = File.ReadAllBytes(fileName);
            List<byte> byteList = new List<byte>();
            for (int i = 0; i < file.Length; i++)
            {
                byte n = (byte)((uint)file[i] ^ 0x55);
                if ((byte)32 <= n && n <= (byte)126)
                    byteList.Add(n);
            }
            File.WriteAllText(outFile, Encoding.ASCII.GetString(byteList.ToArray()));



Comments

Popular posts from this blog

Inspecting Alinco DJ-X100E firmware updater

Modifying old SDR# TETRA demod plug-in