Returns true iff every element of array at index >= from_index equals padded_with.
from_index must be a valid index into the array, i.e. from_index <= N (the boundary
from_index == N denotes a full prefix with no padding). Passing from_index > N is rejected:
otherwise this check would pass vacuously (the loop never reaches from_index), letting a caller
believe the array holds a from_index-length prefix followed by padding even though the array is
shorter than from_index.
Returns true iff every element of
arrayat index>= from_indexequalspadded_with.from_indexmust be a valid index into the array, i.e.from_index <= N(the boundaryfrom_index == Ndenotes a full prefix with no padding). Passingfrom_index > Nis rejected: otherwise this check would pass vacuously (the loop never reachesfrom_index), letting a caller believe the array holds afrom_index-length prefix followed by padding even though the array is shorter thanfrom_index.