Interface PosFlags.Flag
- All Known Implementing Classes:
PosDataCode.POSEnvironment, PosDataCode.ReadingMethod, PosDataCode.SecurityCharacteristic, PosDataCode.VerificationMethod
- Enclosing class:
PosFlags
public static interface PosFlags.Flag
Single flag identified by its byte offset and bit-mask within
PosFlags.getBytes().-
Method Summary
Modifier and TypeMethodDescriptionintReturns the byte offset withinPosFlags.getBytes()where this flag's mask starts.intintValue()Returns the multi-byte bit mask for this flag (low byte applied atgetOffset()).
-
Method Details
-
getOffset
int getOffset()Returns the byte offset withinPosFlags.getBytes()where this flag's mask starts.- Returns:
- byte offset
-
intValue
int intValue()Returns the multi-byte bit mask for this flag (low byte applied atgetOffset()).- Returns:
- bit mask as a packed integer
-