And to represent those indexes I used asbyte instead of a ubyte because I have used -1 to represent "missing value").
You still have to use 0xFF :-). But yes, I understand, that sbyte and ubyte is better way, how to solve this issue.
And to represent those indexes I used asbyte instead of a ubyte because I have used -1 to represent "missing value").
You still have to use 0xFF :-). But yes, I understand, that sbyte and ubyte is better way, how to solve this issue.