libsbp  v2.4.7
Integer types

Specified-width integer type definitions for shorter and nicer code. More...

Typedefs

typedef int8_t s8
 Signed 8-bit integer. More...
 
typedef int16_t s16
 Signed 16-bit integer. More...
 
typedef int32_t s32
 Signed 32-bit integer. More...
 
typedef int64_t s64
 Signed 64-bit integer. More...
 
typedef uint8_t u8
 Unsigned 8-bit integer. More...
 
typedef uint16_t u16
 Unsigned 16-bit integer. More...
 
typedef uint32_t u32
 Unsigned 32-bit integer. More...
 
typedef uint64_t u64
 Unsigned 64-bit integer. More...
 

Detailed Description

Specified-width integer type definitions for shorter and nicer code.

These should be used in preference to unspecified width types such as int which can lead to portability issues between different platforms.

Typedef Documentation

typedef int16_t s16

Signed 16-bit integer.

Definition at line 34 of file common.h.

typedef int32_t s32

Signed 32-bit integer.

Definition at line 36 of file common.h.

typedef int64_t s64

Signed 64-bit integer.

Definition at line 38 of file common.h.

typedef int8_t s8

Signed 8-bit integer.

Definition at line 32 of file common.h.

typedef uint16_t u16

Unsigned 16-bit integer.

Definition at line 42 of file common.h.

typedef uint32_t u32

Unsigned 32-bit integer.

Definition at line 44 of file common.h.

typedef uint64_t u64

Unsigned 64-bit integer.

Definition at line 46 of file common.h.

typedef uint8_t u8

Unsigned 8-bit integer.

Definition at line 40 of file common.h.