src/mongoose/mongoose.cpp
static char *coap_add_uint16(char *ptr, uint16_t val) {
    *ptr = val >> 8;
    ptr++;
    *ptr = val & 0x00FF;
    ptr++;
    return ptr;
}
/*
 * Puts uint16_t (in network order) into given char stream.
 *
 * Helper function.
 */
Puts uint16_t (in network order) into given char stream.
Helper function.
Puts uint16_t ( in network order ) into given char stream . Helper function .
static char *coap_add_uint16(char *ptr, uint16_t val) {
    *ptr = val >> 8;
    ptr++;
    *ptr = val & 0x00FF;
    ptr++;
    return ptr;
}
static char * coap_add_uint16 ( char * ptr , uint16_t val ) { * ptr = val >> 8 ; ptr ++ ; * ptr = val & 0x00FF ; ptr ++ ; return ptr ; }
Puts uint16_t (in network order) into given char stream.
Puts uint16_t ( in network order ) into given char stream .