decodeFunctionName

reads a byte code style function name into a function name and argument types

Arguments: encodedName is the encoded function name name is the variable to put the decoded name in argTypes is the array to put arguments' data types in

bool
decodeFunctionName
(,
ref string name
,)

Return Value

Type: bool

true if the name was in a correct format and was read correctly false if there was an error reading it

Examples

st{
	string name;
	DataType[] types;
	"abcd/0014/102/203/308/".decodeFunctionName(name, types);
	assert (name == "abcd");
	assert (types == [DataType(DataType.Type.Void, 14),
			DataType(DataType.Type.String, 2),
			DataType(DataType.Type.Integer, 3),
			DataType(DataType.Type.Double, 8)
		]

Meta