UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IntType.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "HAL/Platform.h"
6
11template <int NumBytes>
13{
14};
15
16template <> struct TSignedIntType<1> { using Type = int8; };
17template <> struct TSignedIntType<2> { using Type = int16; };
18template <> struct TSignedIntType<4> { using Type = int32; };
19template <> struct TSignedIntType<8> { using Type = int64; };
20
24template <int NumBytes>
26
27
32template <int NumBytes>
34{
35};
36
37template <> struct TUnsignedIntType<1> { using Type = uint8; };
38template <> struct TUnsignedIntType<2> { using Type = uint16; };
39template <> struct TUnsignedIntType<4> { using Type = uint32; };
40template <> struct TUnsignedIntType<8> { using Type = uint64; };
41
45template <int NumBytes>
FPlatformTypes::int16 int16
A 16-bit signed integer.
Definition Platform.h:1123
FPlatformTypes::int8 int8
An 8-bit signed integer.
Definition Platform.h:1121
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
typename TSignedIntType< NumBytes >::Type TSignedIntType_T
Definition IntType.h:25
typename TUnsignedIntType< NumBytes >::Type TUnsignedIntType_T
Definition IntType.h:46
uint8_t uint8
Definition binka_ue_file_header.h:8
uint16_t uint16
Definition binka_ue_file_header.h:7
uint32_t uint32
Definition binka_ue_file_header.h:6
int8 Type
Definition IntType.h:16
int16 Type
Definition IntType.h:17
int32 Type
Definition IntType.h:18
int64 Type
Definition IntType.h:19
Definition IntType.h:13
uint8 Type
Definition IntType.h:37
uint16 Type
Definition IntType.h:38
uint32 Type
Definition IntType.h:39
uint64 Type
Definition IntType.h:40
Definition IntType.h:34