---
title: Measurement.AttributedStyle.ByteCount.Units
framework: foundation
role: symbol
role_heading: Type Alias
path: foundation/measurement/attributedstyle/bytecount/units
---

# Measurement.AttributedStyle.ByteCount.Units

The type the measurement format style uses to represent byte-counting units.

## Declaration

```swift
typealias Units = ByteCountFormatStyle.Units
```

## Discussion

Discussion This format style uses the ByteCountFormatStyle.Units structure to represent the available units.

## See Also

### Accessing style properties

- [allowedUnits](foundation/measurement/attributedstyle/bytecount/allowedunits.md)
- [spellsOutZero](foundation/measurement/attributedstyle/bytecount/spellsoutzero.md)
- [includesActualByteCount](foundation/measurement/attributedstyle/bytecount/includesactualbytecount.md)
- [style](foundation/measurement/attributedstyle/bytecount/style-swift.property.md)
- [Measurement.AttributedStyle.ByteCount.Style](foundation/measurement/attributedstyle/bytecount/style-swift.typealias.md)
- [locale](foundation/measurement/attributedstyle/bytecount/locale.md)
