Version

GSMCharsetEncodingData

public class GSMCharsetEncodingData
extends java.lang.Object
Encapsulates metadata needed during GSM 7-bit encoding, particularly when encoding messages that include User Data Headers (UDH). This class informs the encoder about the encoding style and any prepended UDH bytes.

Constructor:

public GSMCharsetEncodingData(Gsm7EncodingStyle encodingStyle,
                              byte[] leadingBuffer)

    encodingStyle: The GSM 7-bit encoding style (e.g., packed, unpacked).
    leadingBuffer: Optional byte array containing the encoded UDH. Set to null if no UDH is used.
Initializes encoding context with a specific GSM 7-bit style and an optional UDH.

Methods:

int getTotalSeptetCount() Returns the total number of septets (characters) encoded, including any headers.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com