private ParseMcsDomainPdu ( byte data, int ¤tIndex ) : DomainMCSPDU | ||
data | byte | data to be parsed |
currentIndex | int | current parser index |
return | DomainMCSPDU |
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;
}