BRL-CAD

Network to Host Signed Short. More...

Collaboration diagram for Network Conversion - Signed Short:

Functions

size_t bu_cv_ntohss (signed short *in, size_t count, void *out, size_t size)
 
size_t bu_cv_ntohus (unsigned short *, size_t, void *, size_t)
 
size_t bu_cv_ntohsl (signed long int *, size_t, void *, size_t)
 
size_t bu_cv_ntohul (unsigned long int *, size_t, void *, size_t)
 
size_t bu_cv_htonss (void *, size_t, signed short *, size_t)
 
size_t bu_cv_htonus (void *, size_t, unsigned short *, size_t)
 
size_t bu_cv_htonsl (void *, size_t, long *, size_t)
 
size_t bu_cv_htonul (void *, size_t, unsigned long *, size_t)
 

Detailed Description

Network to Host Signed Short.

Parameters
ingeneric pointer for input.
countnumber of shorts to be generated.
outshort pointer for output
sizenumber of bytes of space reserved for out.
Returns
number of conversions done.

Function Documentation

◆ bu_cv_ntohss()

size_t bu_cv_ntohss ( signed short *  in,
size_t  count,
void *  out,
size_t  size 
)

◆ bu_cv_ntohus()

size_t bu_cv_ntohus ( unsigned short *  ,
size_t  ,
void *  ,
size_t   
)

◆ bu_cv_ntohsl()

size_t bu_cv_ntohsl ( signed long int *  ,
size_t  ,
void *  ,
size_t   
)

◆ bu_cv_ntohul()

size_t bu_cv_ntohul ( unsigned long int *  ,
size_t  ,
void *  ,
size_t   
)

◆ bu_cv_htonss()

size_t bu_cv_htonss ( void *  ,
size_t  ,
signed short *  ,
size_t   
)

◆ bu_cv_htonus()

size_t bu_cv_htonus ( void *  ,
size_t  ,
unsigned short *  ,
size_t   
)

◆ bu_cv_htonsl()

size_t bu_cv_htonsl ( void *  ,
size_t  ,
long *  ,
size_t   
)

Referenced by Serializer::write_int32().

◆ bu_cv_htonul()

size_t bu_cv_htonul ( void *  ,
size_t  ,
unsigned long *  ,
size_t   
)