![]() |
MySQL 26.7.0
Source Code Documentation
|
Helper structure used by the reader to aggregate payload and information needed to decode an event. More...
#include <binlog_reader.h>
Public Member Functions | |
| Event_payload (uint8_t *data, std::size_t length, bool verify_checksum) | |
| Construct from payload data and metadata. More... | |
| Event_payload ()=default | |
| Default constructor. More... | |
Public Attributes | |
| uint8_t * | m_data |
| Allocated dynamic array containing payload raw bytes. More... | |
| std::size_t | m_length |
| length Length of the event More... | |
| bool | m_verify_checksum {false} |
| Parameter used by the reader to identify if checksum of the event should be checked after event decoding. More... | |
Helper structure used by the reader to aggregate payload and information needed to decode an event.
|
inline |
Construct from payload data and metadata.
| data | Allocated dynamic array containing payload raw bytes |
| length | Length of the event |
| verify_checksum | Parameter used by the reader to identify if checksum of the event should be checked after event decoding |
|
default |
Default constructor.
| uint8_t* Event_payload::m_data |
Allocated dynamic array containing payload raw bytes.
This is owning pointer of the data
| std::size_t Event_payload::m_length |
length Length of the event
| bool Event_payload::m_verify_checksum {false} |
Parameter used by the reader to identify if checksum of the event should be checked after event decoding.