src/lib/serial.c
void serial_uint32(uint8_t * * const ptr, const uint32_t v)
{
    uint32_t vo = htonl(v);

    memcpy(*ptr, &vo, sizeof vo);
    *ptr += sizeof vo;
}
/*  serial_uint32  --  Serialise an unsigned 32 bit integer.  */
serial_uint32  --  Serialise an unsigned 32 bit integer.
serial_uint32 -- Serialise an unsigned 32 bit integer .
void serial_uint32(uint8_t * * const ptr, const uint32_t v)
{
    uint32_t vo = htonl(v);
    memcpy(*ptr, &vo, sizeof vo);
    *ptr += sizeof vo;
}
void serial_uint32 ( uint8_t * * const ptr , const uint32_t v ) { uint32_t vo = htonl ( v ) ; memcpy ( * ptr , & vo , sizeof vo ) ; * ptr += sizeof vo ; }
serial_uint32  --  Serialise an unsigned 32 bit integer.
serial_uint32 -- Serialise an unsigned 32 bit integer .