public static unsafe CrString[] GetArguments(int argc, byte **argv) { var result = new CrString[argc]; for (var i = 0; i < argc; i++) { result[i] = new CrString(argv[i]); } return(result); }
public static char[] ToCharArray(CrString _this) { var length = _this.Length; var result = new char[length]; for (var i = 0; i < length; i++) { result[i] = _this.Text[i]; } return(result); }