/**
*
*/
public void parse(XInputStream is, BinlogEventV4Header header, BinlogParserContext context)
throws IOException {
final UserVarEvent event = new UserVarEvent(header);
event.setVarNameLength(is.readInt(4));
event.setVarName(is.readFixedLengthString(event.getVarNameLength()));
event.setIsNull(is.readInt(1));
if(event.getIsNull() == 0) {
event.setVarType(is.readInt(1));
event.setVarCollation(is.readInt(4));
event.setVarValueLength(is.readInt(4));
event.setVarValue(parseUserVariable(is, event));
}
context.getEventListener().onEvents(event);
}