mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
24 lines
457 B
C
24 lines
457 B
C
|
// Copyright 2018 Dolphin Emulator Project
|
||
|
// Licensed under GPLv2+
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "Common/CommonTypes.h"
|
||
|
|
||
|
namespace sf
|
||
|
{
|
||
|
class Packet;
|
||
|
}
|
||
|
|
||
|
namespace Common
|
||
|
{
|
||
|
template <typename value_type>
|
||
|
struct BigEndianValue;
|
||
|
|
||
|
u16 PacketReadU16(sf::Packet& packet);
|
||
|
u32 PacketReadU32(sf::Packet& packet);
|
||
|
u64 PacketReadU64(sf::Packet& packet);
|
||
|
void PacketWriteU64(sf::Packet& packet, u64 value);
|
||
|
} // namespace Common
|