src/lib/serial.c
int32_t unserial_int32(uint8_t * * const ptr)
{
    int32_t vo;

    memcpy(&vo, *ptr, sizeof vo);
    *ptr += sizeof vo;
    return ntohl(vo);
}
/*  unserial_int32  --  Unserialise a signed 32 bit integer.  */
unserial_int32  --  Unserialise a signed 32 bit integer.
unserial_int32 -- Unserialise a signed 32 bit integer .
int32_t unserial_int32(uint8_t * * const ptr)
{
    int32_t vo;
    memcpy(&vo, *ptr, sizeof vo);
    *ptr += sizeof vo;
    return ntohl(vo);
}
int32_t unserial_int32 ( uint8_t * * const ptr ) { int32_t vo ; memcpy ( & vo , * ptr , sizeof vo ) ; * ptr += sizeof vo ; return ntohl ( vo ) ; }
unserial_int32  --  Unserialise a signed 32 bit integer.
unserial_int32 -- Unserialise a signed 32 bit integer .