|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Platform buffer pointer and size for batched socket sends. More...
#include <src/platform/common.h>
Public Member Functions | |
| buffer_descriptor_t (const char *buffer, size_t size) | |
| Describe a contiguous byte buffer for batched socket sending. | |
Public Attributes | |
| const char * | buffer |
| Pointer to the payload buffer. | |
| size_t | size |
| Size of the buffer in bytes. | |
Platform buffer pointer and size for batched socket sends.
|
inline |
Describe a contiguous byte buffer for batched socket sending.
| buffer | Serialized byte buffer to read from or write to. |
| size | Number of bytes or elements requested. |