@Override
        public void accept(ByteBuf byteBuf) {
            while (byteBuf.getUnsignedByte(0) != 0x00) {
                // Just consume the bytes till the next possible start position.
                byteBuf.readByte();
            }
        }
Consumes all Bytes till another Magic Byte is found
plc4j/drivers/eip/src/main/java/org/apache/plc4x/java/eip/logix/LogixDriver.java