Table of Contents

Class GSMPackedEncoding

Namespace
Inetlab.SMPP.Encodings
Assembly
cs.temp.dll.dll
Represents packed GSM 03.38 character encoding of Unicode characters.
public class GSMPackedEncoding : GSMEncoding
Inheritance
Object
GSMPackedEncoding
Inherited Members

Constructors

GSMPackedEncoding()

public GSMPackedEncoding()

GSMPackedEncoding(GSMEncoding)

public GSMPackedEncoding(GSMEncoding encoding)

Parameters

encoding GSMEncoding

GSMPackedEncoding(IGSMCharsetMap)

public GSMPackedEncoding(IGSMCharsetMap charsetMap)

Parameters

charsetMap IGSMCharsetMap

GSMPackedEncoding(Char[], Char[])

public GSMPackedEncoding(char[] characterSet, char[] extensionSet)

Parameters

characterSet Char[]
extensionSet Char[]

Methods

AddFiller(Byte, Byte[])

Prepends specified number of bits of padding to the message. Adds filler to align the user data to septets after UDH.
public static byte[] AddFiller(byte prependBits, byte[] orig)

Parameters

prependBits Byte
number of bits
orig Byte[]
original byte array of the message

Returns

Byte[]

GetByteCount(Char[], Int32, Int32)

public override int GetByteCount(char[] chars, int index, int count)

Parameters

chars Char[]
index Int32
count Int32

Returns

Int32

GetBytes(Char[], Int32, Int32, Byte[], Int32)

public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)

Parameters

chars Char[]
charIndex Int32
charCount Int32
bytes Byte[]
byteIndex Int32

Returns

Int32

GetCharCount(Byte[], Int32, Int32)

public override int GetCharCount(byte[] bytes, int index, int count)

Parameters

bytes Byte[]
index Int32
count Int32

Returns

Int32

GetChars(Byte[], Int32, Int32, Char[], Int32)

public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)

Parameters

bytes Byte[]
byteIndex Int32
byteCount Int32
chars Char[]
charIndex Int32

Returns

Int32

RemoveFiller(Byte, Byte[])

Removes a number of bits from beginning of the message
public static byte[] RemoveFiller(byte removedBits, byte[] orig)

Parameters

removedBits Byte
number of bits
orig Byte[]
original byte array of the message

Returns

Byte[]