Skip to content
StrAlignedOffsetAt

StrAlignedOffsetAt

Description

Byte offset of the character at idx from the start of the string’s storage buffer, with the per-character alignment padding applied. For a char string this is simply idx, but it stays correct under any future over-aligned char typedef. See VecAlignedOffsetAt for the full SUCCESS/FAILURE contract.

Parameters

Name Direction Description
str in String to query.
idx in Character index.

Usage example (Cross-references)

Usage examples (Cross-references)
No external code usages found in the scanned files.
Last updated on