Shortcuts

Function ripple::offset_ptr

Function Documentation

auto ripple::offset_ptr(const void *ptr, uint32_t amount) noexcept -> void*

Gets a new ptr offset by the given amount from the ptr.

Note

This does not ensure alignemt. If the pointer needs to be aligned, then pass the result to align().

See

align

Return

A new pointer at the offset location.

Parameters
  • ptr: The pointer to offset.

  • amount: The amount to offset ptr by.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples