public class Asn1PerBitField
extends java.lang.Object
Constructor and Description |
---|
Asn1PerBitField(java.lang.String name,
int bitOffset,
int bitCount)
This constructor initializes all of the variables used to track
the bit fields.
|
Modifier and Type | Method and Description |
---|---|
int |
getBitCount()
This method returns the number of bits in the bit field.
|
int |
getBitOffset()
This method returns the offset to the bit field in the buffer.
|
java.lang.String |
getName()
This method returns the name assigned to the bit field.
|
void |
setBitCount(int value)
This method sets the count of bits in the bit field.
|
void |
setBitCountAndOffset(int count,
int offset)
This method sets the count of bits in the bit field and the offset
to the bit field in the message buffer.
|
void |
setBitOffset(int value)
This method sets the offset to the bit field in the message buffer.
|
public Asn1PerBitField(java.lang.String name, int bitOffset, int bitCount)
name
- Name of the bit field.bitOffset
- Offset within buffer to the bit fieldbitCount
- Number of bits in the bit fieldpublic int getBitCount()
public int getBitOffset()
public java.lang.String getName()
public void setBitCount(int value)
public void setBitCountAndOffset(int count, int offset)
public void setBitOffset(int value)