isFNC1 method
Determines if a value is the FNC1 character
@param index the index of the value
@return true if the value at position index
is the FNC1 character
@throws IndexOutOfBoundsException
if the index
argument is negative or not less than
length
Implementation
bool isFNC1(int index) {
if (index < 0 || index >= length) {
// IndexOutOfBoundsException
throw IndexError.withLength(index, length);
}
return bytes[index] == 1000;
}