Beispiel #1
0
 internal SmppHeader(ByteBuilder bb)
 {
     _CommandLength  = SmppConverter.FromByteArrayToInt32(bb.ToArray(0, 4));
     _CommandId      = SmppConverter.FromByteArrayToInt32(bb.ToArray(4, 4));
     _CommandStatus  = SmppConverter.FromByteArrayToInt32(bb.ToArray(8, 4));
     _SequenceNumber = SmppConverter.FromByteArrayToInt32(bb.ToArray(12, 4));
 }
Beispiel #2
0
 public int GetInt32()
 {
     return(SmppConverter.FromByteArrayToInt32(_Value));
 }