We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5942cc6 commit d1fe1f2Copy full SHA for d1fe1f2
replication/event.go
@@ -38,6 +38,11 @@ func (e *BinlogEvent) Dump(w io.Writer) {
38
e.Event.Dump(w)
39
}
40
41
+// ByteLen returns the total size of the raw event data in bytes.
42
+func (e *BinlogEvent) ByteLen() int {
43
+ return len(e.RawData)
44
+}
45
+
46
type Event interface {
47
// Dump Event, format like python-mysql-replication
48
Dump(w io.Writer)
0 commit comments