24#ifndef CODECS_BASE_INCLUDED 
   25#define CODECS_BASE_INCLUDED 
   53  virtual std::pair<std::size_t, bool> 
decode(
const unsigned char *from,
 
   70                                              std::size_t size) 
const = 0;
 
This is the abstract base class for binary log events.
Definition: binlog_event.h:826
 
This is the abstract and base class for binary log codecs.
Definition: base.h:39
 
virtual std::pair< std::size_t, bool > decode(const unsigned char *from, std::size_t size, Binary_log_event &to) const =0
Member function that shall decode the contents of the given buffer into a binary log event.
 
virtual std::pair< std::size_t, bool > encode(const Binary_log_event &from, unsigned char *to, std::size_t size) const =0
Member function that shall encode the contents of the given binary log event into an in memory buffer...
 
The namespace contains classes representing events that can occur in a replication stream.