mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-23 11:15:28 +00:00
15ef72b4fe
Initial commit.
29 lines
567 B
C++
29 lines
567 B
C++
#pragma once
|
|
#include <string>
|
|
#include <fnd/MemoryBlob.h>
|
|
#include <fnd/ISerialiseableBinary.h>
|
|
#include <es/ticket.h>
|
|
|
|
namespace es
|
|
{
|
|
class TicketBinary
|
|
: public fnd::ISerialiseableBinary
|
|
{
|
|
public:
|
|
TicketBinary();
|
|
TicketBinary(const TicketBinary& other);
|
|
|
|
void operator=(const TicketBinary& other);
|
|
bool operator==(const TicketBinary& other) const;
|
|
bool operator!=(const TicketBinary& other) const;
|
|
|
|
void importBinary(byte_t* src, size_t size);
|
|
void exportBinary();
|
|
|
|
const byte_t* getBytes() const;
|
|
size_t getSize() const;
|
|
|
|
|
|
private:
|
|
};
|
|
} |