class MySQLPacketCodecEngine implements DatabasePacketCodecEngine<MySQLPacket> {

    @Override
    public boolean isValidHeader(final int readableBytes) {
        return readableBytes >= MySQLPacket.PAYLOAD_LENGTH + MySQLPacket.SEQUENCE_LENGTH;
    }

}