MySQL 9.0.0
Source Code Documentation
little_endian.h File Reference

Data in little-endian format. 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 float float4get (const uchar *M)
 
static void float4store (uchar *V, float M)
 
static double float8get (const uchar *M)
 
static void float8store (uchar *V, double M)
 

Detailed Description

Data in little-endian format.

Function Documentation

◆ float4get()

static float float4get ( const uchar M)
inlinestatic

◆ float4store()

static void float4store ( uchar V,
float  M 
)
inlinestatic

◆ float8get()

static double float8get ( const uchar M)
inlinestatic

◆ float8store()

static void float8store ( uchar V,
double  M 
)
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