![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
A value that is internally represented as binary data.
A bytes object is immutable.
Properties | |
| NSData * | data |
Instance Methods | |
| (instancetype) | - initWithData: |
| (BOOL) | - isEqualToBytes: |
| - (instancetype) initWithData: | (NSData *) | data |
Returns a bytes object initialized with the given data.
| data | A data object encapsulating the bytes. |
| - (BOOL) isEqualToBytes: | (nullable PTDiffusionBytes *) | bytes |
Compares the receiver to the given bytes.
| bytes | The bytes object with which to compare the receiver. |
YES if the bytes are equal to the contents of the receiver, otherwise NO.
|
readnonatomiccopy |
The data encapsulated by the receiver.