mbedtls_buffer_offset_const() function
Return an offset into a read-only buffer. Similar to mbedtls_buffer_offset(), but for const pointers.
Syntax
static inline const unsigned char *mbedtls_buffer_offset_const(
const unsigned char *p,
size_t n);
Arguments
p
Pointer to a buffer of at least n bytes. This may be \p NULL if \p n is zero.
Return value
Pointer to offset \p n in the buffer \p p. Note that this is only a valid pointer if the size of the buffer is at least \p n + 1.
![]()
static inline const unsigned char *mbedtls_buffer_offset_const(
mbedtls_buffer_offset_const() is called by 1 function:
![]()
mbedtls_buffer_offset_const()
mbedtls_buffer_offset_const():
![]()
mbedtls_buffer_offset_const()