---
title: pinLengthBitOffset
framework: cryptotokenkit
role: symbol
role_heading: Instance Property
path: cryptotokenkit/tksmartcardpinformat/pinlengthbitoffset
---

# pinLengthBitOffset

The offset, in bits, within the PIN block to mark a location for filling in the PIN length, which is always left justified. 0 by default.

## Declaration

```swift
var pinLengthBitOffset: Int { get set }
```

## Discussion

Discussion The value of PINLengthBitOffset indirectly controls the internal system units indicator. If PINLengthBitOffset is byte aligned (that is, PINLengthBitOffset % 8 == 0), the internal representation of PINLengthBitOffset gets converted from bits to bytes.

## See Also

### Configuring PIN Formatting

- [charset](cryptotokenkit/tksmartcardpinformat/charset-swift.property.md)
- [encoding](cryptotokenkit/tksmartcardpinformat/encoding-swift.property.md)
- [minPINLength](cryptotokenkit/tksmartcardpinformat/minpinlength.md)
- [maxPINLength](cryptotokenkit/tksmartcardpinformat/maxpinlength.md)
- [pinBlockByteLength](cryptotokenkit/tksmartcardpinformat/pinblockbytelength.md)
- [pinJustification](cryptotokenkit/tksmartcardpinformat/pinjustification.md)
- [pinBitOffset](cryptotokenkit/tksmartcardpinformat/pinbitoffset.md)
- [pinLengthBitSize](cryptotokenkit/tksmartcardpinformat/pinlengthbitsize.md)
