private DomainMCSPDU ParseMcsDomainPdu(byte[] data, ref int currentIndex)
{
// initialize decode buffer
byte[] temp = GetBytes(data, ref currentIndex, (data.Length - currentIndex));
Asn1DecodingBuffer buffer = new Asn1DecodingBuffer(temp);
// decode
DomainMCSPDU domainPdu = new DomainMCSPDU();
domainPdu.PerDecode(buffer);
return domainPdu;
}