Sunshine latest
Self-hosted game stream host for Moonlight.
platf::batched_send_info_t Struct Reference

Public Member Functions

buffer_descriptor_t buffer_for_payload_offset (ptrdiff_t offset)
 Returns a payload buffer descriptor for the given payload offset.
 

Public Attributes

size_t block_count
 
size_t block_offset
 
size_t header_size
 
const char * headers
 
std::uintptr_t native_socket
 
std::vector< buffer_descriptor_t > & payload_buffers
 
size_t payload_size
 
boost::asio::ip::address & source_address
 
boost::asio::ip::address & target_address
 
uint16_t target_port
 

Member Function Documentation

◆ buffer_for_payload_offset()

buffer_descriptor_t platf::batched_send_info_t::buffer_for_payload_offset ( ptrdiff_t offset)
inline

Returns a payload buffer descriptor for the given payload offset.

Parameters
offsetThe offset in the total payload data (bytes).
Returns
Buffer descriptor describing the region at the given offset.

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