Encode Operations
Encode operations set a string or blob field from a numeric field and encode it as the specified decimal or hexadecimal value. For example, the string 1234 can be encoded as the binary coded decimal value 0x1234.
Encode Operations describes the encode operations.
Operation | Description |
---|---|
encode_ascii_string | Set a string or blob field from a numeric field encoding it as an ascii decimal value. For example, 1234 would be encoded as 1234. |
encode_bcd_string | Set a string or blob field from a numeric field encoding it as a binary coded decimal value. For example, 1234 would be encoded as 0x1234. |
encode_bcd_nro_string | Set a string or blob field from a numeric field encoding it as a binary coded decimal (nibbles in reverse order) value. For example, 1234 would be encoded as 0x2143. |
encode_hex_ascii_string | Set a string or blob field from a numeric field encoding it as an ascii hexadecimal value. For example, 1234 would be encoded as 04D2. |
encode_hex_string | Set a string or blob field from a numeric field encoding it as an hexadecimal value. For example, 1234 would be encoded as 0x04D2. |
encode_tbcd_string | Set a string or blob field from a numeric field encoding it as a telephony binary coded decimal value. For example, 1234 would be encoded as 0x1234. |