Skip to main content

smpp_append_encoded_integer

Last updated March 2020

Name

smpp_append_encoded_integer — Encode an integer into an octet string

Synopsis

#include "modules/mobility/smpp/smpp_util.h"

| void **smpp_append_encoded_integer** ( | os, |   | |   | u, |   | |   | octets); |   |

string * <var class="pdparam">os</var>; unsigned long <var class="pdparam">u</var>; long <var class="pdparam">octets</var>;

Description

**Configuration Change. ** This feature is available starting from Momentum 3.2.

Encode an integer into an octet string.

Parameters

os

The input octet string.

u

The value of the integer.

octets

The length of the octet string after encoding.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?