package
1.0.78
Repository: https://github.com/zhiyin2021/zysms.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FromDataCoding returns encoding from DataCoding value.
FromDataCoding returns encoding from DataCoding value.
判断字符串是否包含中文.
NewBuffer create new buffer from preallocated buffer array.
NewIEConcatMessage turn a new IE element for concat message info IE.Data is populated at time of object creation.
NewLongMessage returns long message splitted into multiple short message.
NewLongMessageWithEncoding returns long message splitted into multiple short message with encoding of choice.
No description provided by the author
NewBuffer create new buffer from preallocated buffer array.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
ASCIICoding is ascii coding.
BINARY8BIT1Coding is 8-bit binary coding.
BINARY8BIT2Coding is 8-bit binary coding.
No description provided by the author
No description provided by the author
No description provided by the author
CYRILLICCoding is iso-8859-5 coding.
闪信.
No description provided by the author
GSM7BITCoding is gsm-7bit coding.
HEBREWCoding is iso-8859-8 coding.
LATIN1Coding is iso-8859-1 coding.
No description provided by the author
SizeByte is size of byte.
SizeInt is size of int.
SizeLong is size of long.
SizeShort is size of short.
8bit分片消息长度.
7bit消息分片长度.
8bit消息长度.
7bit消息长度.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
消息类型 0TP (for a one-time password) MKT (for a marketing message) ARN (for an alert, reminder, or notification) */.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
Common Tag-Length-Value (TLV) tags.
UCS2Coding is UCS2 coding.
No description provided by the author
User Data Header.
分片头长度.
No description provided by the author

# Variables

ASCII is ascii encoding.
No description provided by the author
BINARY8BIT1 is binary 8-bit encoding.
BINARY8BIT2 is binary 8-bit encoding.
CYRILLIC encoding.
ErrInvalidByte means that a given byte is outside of the GSM 7-bit encoding range.
No description provided by the author
ErrBufferNotEnoughByteToRead indicates not enough byte(s) to read from buffer.
ErrNotImplDecode indicates that encoding does not support Decode method.
ErrNotImplEncode indicates that encoding does not support Encode method.
ErrNotImplSplitterInterface indicates that encoding does not support Splitter interface.
No description provided by the author
GSM7BIT is gsm-7bit encoding.
GSM7BITPACKED is packed gsm-7bit encoding.
葡萄牙.
西班牙.
土耳其.
HEBREW encoding.
LATIN1 encoding.
UCS2 encoding.

# Structs

ByteBuffer wraps over bytes.Buffer with additional features.
No description provided by the author
No description provided by the author
Field is a PDU Tag-Length-Value (TLV) field.
InfoElement represent a 3 parts Information-Element as defined in 3GPP TS 23.040 Section 9.2.3.24 Each InfoElement is comprised of it's identifier and data.
ShortMessage message.

# Interfaces

EncDec wraps encoder and decoder interface.
Encoding interface.
No description provided by the author
PDU represents PDU interface.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Tag is the tag of a Tag-Length-Value (TLV) field.
UDH represent User Data Header as defined in 3GPP TS 23.040 Section 9.2.3.24.
No description provided by the author