Parse processes a raw event's data bytes into a more useful representation. NOTE: the parser may assume the event's extra headers size, fixed-length data and checksum size are coreectly set. Also, it may assume the raw event is of the correct event type. When an error occurs, the parser should return the original raw event along with the error.
Parse is referenced in 1 repositorygithub.com/dropbox/godropbox
- 1 reference in database/binlog/parsed_event_reader.go
Parse(raw *RawV4Event) (Event, error)