MapContainer.RemoveEncoding C# (CSharp) Метод

RemoveEncoding() статический приватный Метод

static private RemoveEncoding ( string path ) : void
path string
Результат void
    static void RemoveEncoding(string path)
    {
        byte[] orgBuffer = File.ReadAllBytes (path);
        byte[] buffer = new byte[orgBuffer.Length - 17];
        int i = 0;
        int i2 = 0;
        while (i2 < orgBuffer.Length) {
            if (i2 == 19) {
                i2 = 36;
            }
            buffer [i] = orgBuffer [i2];

            i++;
            i2++;
        }
        File.WriteAllBytes (path, buffer);
    }