Voyant API 0.16.0
Loading...
Searching...
No Matches
BufferResult Struct Reference

#include <udp_base_ffi.hpp>

Public Attributes

uint8_t * data
uintptr_t len
bool success

Detailed Description

Result structure returned to C code after receiving data Contains buffer information and success status

Member Data Documentation

◆ data

uint8_t* BufferResult::data

Pointer to the allocated buffer containing received data The caller must free this buffer using free_buffer()

◆ len

uintptr_t BufferResult::len

Length of the received data in bytes

◆ success

bool BufferResult::success

Flag indicating whether the receive operation was successful If false, data will be null and len will be 0


The documentation for this struct was generated from the following file: