Skip to content
StrPushFrontManyFast

StrPushFrontManyFast

Description

Fast (order-not-preserving) variant of StrPushFrontMany. The existing head characters are moved to the tail; the new bytes occupy the head. O(1) when the prepended length is small.

Success

Returns true; bytes copied at the head; previous head characters relocated to the tail (order not preserved).

Failure

Returns false on allocation failure. str unchanged.

Usage example (Cross-references)

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