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
-
ObjectGSMEncoding
- Derived
Constructors
GSMEncoding()
public GSMEncoding()
GSMEncoding(IGSMCharsetMap)
public GSMEncoding(IGSMCharsetMap charsetMap)
Parameters
charsetMapIGSMCharsetMap
GSMEncoding(Char[], Char[])
public GSMEncoding(char[] characterSet, char[] extensionSet)
Parameters
characterSetChar[]extensionSetChar[]
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
charsChar[]indexInt32countInt32
Returns
- Int32
GetBytes(Char[], Int32, Int32, Byte[], Int32)
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
Parameters
charsChar[]charIndexInt32charCountInt32bytesByte[]byteIndexInt32
Returns
- Int32
GetCharCount(Byte[], Int32, Int32)
public override int GetCharCount(byte[] bytes, int index, int count)
Parameters
bytesByte[]indexInt32countInt32
Returns
- Int32
GetChars(Byte[], Int32, Int32, Char[], Int32)
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
Parameters
bytesByte[]byteIndexInt32byteCountInt32charsChar[]charIndexInt32
Returns
- Int32
GetMaxByteCount(Int32)
public override int GetMaxByteCount(int charCount)
Parameters
charCountInt32
Returns
- Int32
GetMaxCharCount(Int32)
public override int GetMaxCharCount(int byteCount)
Parameters
byteCountInt32
Returns
- Int32