[#BloombergLP-bdlb-IndexSpanUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::IndexSpanUtil :relfileprefix: ../../ :mrdocs: This struct serves as a namespace for utility functions that operate on `IndexSpan` objects. == Synopsis Declared in `<bdlb_indexspanutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct IndexSpanUtil; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/IndexSpanUtil/shrink.adoc[`shrink`] | Return an `IndexSpan` object transformed from the specified `original` using the specified `shrinkBegin` and `shrinkEnd` so that its position is `original.position() + shrinkBegin` and whose length is `original.length() ‐ (shrinkBegin + shrinkEnd)`. The behavior is undefined unless `shrinkBegin + shrinkEnd <= original.length()`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#