Exemplo n.º 1
0
        // Token: 0x06000901 RID: 2305 RVA: 0x0000BDF4 File Offset: 0x0000ADF4
        public unsafe void SetGear(string value)
        {
            int byteCount = Encoding.ASCII.GetByteCount(value);

            byte[] array = new byte[byteCount + 1];
            Encoding.ASCII.GetBytes(value, 0, byteCount, array, 0);
            array[byteCount] = 0;
            fixed(byte *ptr = array)
            {
                CarStatistics._EASharpBinding_902(this.mSelf, (sbyte *)ptr);
            }
        }