public class Asn1PerUtil
extends java.lang.Object
Constructor and Description |
---|
Asn1PerUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
getMsgBitCnt(int byteCount,
int bitOffset)
This method returns the number of bits in an encoded PER
message buffer.
|
public static int getMsgBitCnt(int byteCount, int bitOffset)
byteCount
- Number of full bytes in messagebitOffset
- Offset to current bit in last byte ((7 - 0) or
-1 if no bits used).