Exemplo n.º 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));
 }
Exemplo n.º 2
0
 public int GetInt32()
 {
     return(SmppConverter.FromByteArrayToInt32(_Value));
 }