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 Type
    Method
    Description
    int
    Returns the byte offset within PosFlags.getBytes() where this flag's mask starts.
    int
    Returns the multi-byte bit mask for this flag (low byte applied at getOffset()).
  • Method Details

    • getOffset

      int getOffset()
      Returns the byte offset within PosFlags.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 at getOffset()).
      Returns:
      bit mask as a packed integer