---
title: argumentDataValue
framework: OSLog
role: symbol
role_heading: Instance Property
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 10.15+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+]
path: oslog/oslogmessagecomponent/argumentdatavalue
---

# argumentDataValue

The argument formatted as a sequence of bytes.

## Declaration

```swift
var argumentDataValue: Data? { get }
```

## Discussion

Discussion The argumentDataValue property can be nil if the argument can’t be decoded. For example, redacted arguments and the last component can’t be decoded.

## See Also

### Accessing the Argument

- [argumentDoubleValue](oslog/oslogmessagecomponent/argumentdoublevalue.md)
- [argumentInt64Value](oslog/oslogmessagecomponent/argumentint64value.md)
- [argumentNumberValue](oslog/oslogmessagecomponent/argumentnumbervalue.md)
- [argumentStringValue](oslog/oslogmessagecomponent/argumentstringvalue.md)
- [argumentUInt64Value](oslog/oslogmessagecomponent/argumentuint64value.md)
