Cosmos/source/Indy.IL2CPU.IL.X86/CustomImplementations/System/StringImpl.cs
mterwoord_cp b9e7c8e593
2007-11-02 09:59:50 +00:00

23 lines
514 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.IL.X86.CustomImplementations.System {
public static class StringImpl {
public static unsafe int get_Length(int* aThis) {
return *(aThis + 2);
}
public static byte GetByteFromChar(char aChar) {
return 0;
}
public static unsafe byte get_Chars_Metal(byte* aThis, int aIndex) {
byte* xThis = aThis;
xThis += 4;
xThis += aIndex;
return *xThis;
}
}
}