Table of Contents

Class GSMEncoding

Namespace
Inetlab.SMPP.Encodings
Assembly
cs.temp.dll.dll
Represents unpacked GSM 03.38 character encoding of Unicode characters.
public class GSMEncoding : Encoding
Inheritance
Object
GSMEncoding
Derived

Constructors

GSMEncoding()

public GSMEncoding()

GSMEncoding(IGSMCharsetMap)

public GSMEncoding(IGSMCharsetMap charsetMap)

Parameters

charsetMap IGSMCharsetMap

GSMEncoding(Char[], Char[])

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

Parameters

characterSet Char[]
extensionSet Char[]

Properties

CharacterSet

public char[] CharacterSet { get; }

Property Value

Char[]

ExtensionSet

public char[] ExtensionSet { get; }

Property Value

Char[]

Methods

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

GetMaxByteCount(Int32)

public override int GetMaxByteCount(int charCount)

Parameters

charCount Int32

Returns

Int32

GetMaxCharCount(Int32)

public override int GetMaxCharCount(int byteCount)

Parameters

byteCount Int32

Returns

Int32