MySQL 8.4.3
Source Code Documentation
big_endian.h File Reference

Endianness-independent definitions (little_endian.h contains optimized versions if you know you are on a little-endian platform). More...

#include <string.h>
#include "my_inttypes.h"

Go to the source code of this file.

Functions

static int16 sint2korr (const uchar *A)
 
static int32 sint4korr (const uchar *A)
 
static uint16 uint2korr (const uchar *A)
 
static uint32 uint4korr (const uchar *A)
 
static ulonglong uint8korr (const uchar *A)
 
static longlong sint8korr (const uchar *A)
 
static void int2store (uchar *T, uint16 A)
 
static void int4store (uchar *T, uint32 A)
 
static void int7store (uchar *T, ulonglong A)
 
static void int8store (uchar *T, ulonglong A)
 
static void float4store (uchar *T, float A)
 
static float float4get (const uchar *M)
 
static void float8store (uchar *T, double V)
 
static double float8get (const uchar *M)
 

Detailed Description

Endianness-independent definitions (little_endian.h contains optimized versions if you know you are on a little-endian platform).

Function Documentation

◆ float4get()

static float float4get ( const uchar M)
inlinestatic

◆ float4store()

static void float4store ( uchar T,
float  A 
)
inlinestatic

◆ float8get()

static double float8get ( const uchar M)
inlinestatic

◆ float8store()

static void float8store ( uchar T,
double  V 
)
inlinestatic

◆ int2store()

static void int2store ( uchar T,
uint16  A 
)
inlinestatic

◆ int4store()

static void int4store ( uchar T,
uint32  A 
)
inlinestatic

◆ int7store()

static void int7store ( uchar T,
ulonglong  A 
)
inlinestatic

◆ int8store()

static void int8store ( uchar T,
ulonglong  A 
)
inlinestatic

◆ sint2korr()

static int16 sint2korr ( const uchar A)
inlinestatic

◆ sint4korr()

static int32 sint4korr ( const uchar A)
inlinestatic

◆ sint8korr()

static longlong sint8korr ( const uchar A)
inlinestatic

◆ uint2korr()

static uint16 uint2korr ( const uchar A)
inlinestatic

◆ uint4korr()

static uint32 uint4korr ( const uchar A)
inlinestatic

◆ uint8korr()

static ulonglong uint8korr ( const uchar A)
inlinestatic