class MySQLAuthSwitchRequestPacket implements MySQLPacket {

    @Override
    public void write(final MySQLPacketPayload payload) {
        payload.writeInt1(0xfe);
        payload.writeStringNul(authPluginName);
        payload.writeStringNul(new String(authPluginData.getAuthPluginData()));
    }

}