KItinerary

rsp6decoder.h
1/*
2 SPDX-FileCopyrightText: 2023 Volker Krause <vkrause@kde.org>
3 SPDX-License-Identifier: LGPL-2.0-or-later
4*/
5
6#ifndef KITINERARY_RSP6DECODER_H
7#define KITINERARY_RSP6DECODER_H
8
9class QByteArray;
10
11namespace KItinerary {
12
13/**
14 * UK RSP-6 ticket decoder.
15 *
16 * @see https://eta.st/2023/01/31/rail-tickets.html
17 * @see https://git.eta.st/eta/rsp6-decoder
18 */
20{
21public:
22 /** Decodes base26 transport encoding and decrypts the ticket payload. */
23 static QByteArray decode(const QByteArray &data);
24};
25
26}
27
28#endif // KITINERARY_RSP6DECODER_H
UK RSP-6 ticket decoder.
Definition rsp6decoder.h:20
static QByteArray decode(const QByteArray &data)
Decodes base26 transport encoding and decrypts the ticket payload.
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.