SerializationHelpers.announceUncompressedZeroBasedReflexiveIndices Function
Uncompress a 0-based index array by inserting block separators and remapping each index.
- Defined entries of
sourceIndicesare reflexive indices, i.e., they indexsourceIndices. - The remapped index
jmust refer to the same block location in the uncompressed array to which the original defined indexirefers insourceIndices; thereforejis obtained fromiby adding the number of full blocks precedingsourceIndices[i].
announceUncompressedZeroBasedReflexiveIndices(sourceIndices: undefined | number[], sourceStarts: ReadonlyArray
@returns true if and only if the mapping was successful.
Returns - boolean
true if and only if the mapping was successful.
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.