docs: public byte[] toBytes() throws IOException {
          ByteArrayOutputStream out = new ByteArrayOutputStream();
          // 0 write semi mark
          out.write(0xef);
          // 1 write 8 bytes for position
          ByteHelper.write8ByteUnsignedIntLittleEndian(binlogPosition, out);
  
          // 2 write binlog filename
          if (StringUtils.isNotEmpty(binlogFileName)) {
              out.write(binlogFileName.getBytes());
          }
          return out.toByteArray();
      }