public static GetTagLength ( BerTag tag ) : int | ||
tag | BerTag | |
Результат | int |
public static int GetTagLength(BerTag tag)
{
var number = tag.Number;
if(number < 0x1F)
return 1;
return 1 + GetMultiByteLongLength(number);
}