validate

Checks if the offset is valid and throws an exception if it isn't.

See also

isValid
Link copied to clipboard

fun validate()