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

    memcpy(*ptr, &vo, sizeof vo);
    *ptr += sizeof vo;
}
/*  serial_int32  --  Serialise a signed 32 bit integer.  */
serial_int32  --  Serialise a signed 32 bit integer.
serial_int32 -- Serialise a signed 32 bit integer .
void serial_int32(uint8_t * * const ptr, const int32_t v)
{
    int32_t vo = htonl(v);
    memcpy(*ptr, &vo, sizeof vo);
    *ptr += sizeof vo;
}
void serial_int32 ( uint8_t * * const ptr , const int32_t v ) { int32_t vo = htonl ( v ) ; memcpy ( * ptr , & vo , sizeof vo ) ; * ptr += sizeof vo ; }
serial_int32  --  Serialise a signed 32 bit integer.
serial_int32 -- Serialise a signed 32 bit integer .