View over a contiguous sequence of items with a custom stride between elements. More...
#include <HttpConnection.h>
Public Member Functions | |
| constexpr | SpanWithStride () |
| Builds an empty SpanWithStride. | |
| constexpr | SpanWithStride (void *data, size_t sizeInElements, size_t strideInBytes) |
| Builds a SpanWithStride from data, size, and stride. | |
| template<typename U > | |
| constexpr | SpanWithStride (Span< U > span) |
| constexpr size_t | sizeInElements () const |
| constexpr bool | empty () const |
| template<typename U > | |
| SpanWithStride< U > | castTo () |
| Type & | operator[] (size_t idx) |
| const Type & | operator[] (size_t idx) const |
View over a contiguous sequence of items with a custom stride between elements.
|
inlineconstexpr |
Builds an empty SpanWithStride.
|
inlineconstexpr |
Builds a SpanWithStride from data, size, and stride.
| data | pointer to the first element |
| sizeInElements | number of elements |
| strideInBytes | stride between elements in bytes |