public class MarginReadMask
extends java.lang.Object
Constructor and Description |
---|
MarginReadMask()
Constructor for MarginReadMask initializes empty defaults.
|
Modifier and Type | Method and Description |
---|---|
int |
getBitLength() |
short[] |
getMask() |
void |
setBitLength(int bitLength)
Set the bit length of the margin mask
|
void |
setMaskFromBitString(java.lang.String str)
Sets the margin read mask from the specified bit string.
|
void |
setMaskFromHexString(java.lang.String str)
Sets the margin read mask from the specified hex string.
|
java.lang.String |
toHexString()
Converts the margin read mask into a hexadecimal string.
|
java.lang.String |
toHexWordString()
Converts the margin read mask into a hexadecimal string with spaces between words.
|
public MarginReadMask()
public short[] getMask()
public int getBitLength()
public void setBitLength(int bitLength)
bitLength
- The bit length of the margin mask to checkpublic void setMaskFromHexString(java.lang.String str) throws OctaneSdkException
str
- The hex string we're setting the mask withOctaneSdkException
- if the input string is invalid.public void setMaskFromBitString(java.lang.String str) throws OctaneSdkException
str
- The bit string to load into the Margin Read MaskOctaneSdkException
- if the input string is invalid.public java.lang.String toHexWordString()
public java.lang.String toHexString()