fehQlibs 27
Qlibs
Loading...
Searching...
No Matches
uint16p.c File Reference

packing/unpacking 16 bit integer to/from char string More...

#include "uint_t.h"
Include dependency graph for uint16p.c:

Go to the source code of this file.

Functions

void uint16_pack (char s[2], uint16 u)
 
void uint16_pack_big (char s[2], uint16 u)
 
void uint16_unpack (char s[2], uint16 *u)
 
void uint16_unpack_big (char s[2], uint16 *u)
 

Detailed Description

packing/unpacking 16 bit integer to/from char string

Author
djb qmail

Definition in file uint16p.c.

Function Documentation

◆ uint16_pack()

void uint16_pack ( char s[2],
uint16 u )

Definition at line 10 of file uint16p.c.

◆ uint16_pack_big()

void uint16_pack_big ( char s[2],
uint16 u )

Definition at line 16 of file uint16p.c.

◆ uint16_unpack()

void uint16_unpack ( char s[2],
uint16 * u )

Definition at line 22 of file uint16p.c.

◆ uint16_unpack_big()

void uint16_unpack_big ( char s[2],
uint16 * u )

Definition at line 32 of file uint16p.c.