Share via


MSProtectedData length method

Returns the number of bytes contained in the receiver.

Signature

- (int64_t)length:(NSError **)errorPtr;

Parameters

Name Datatype Notes
errorPtr
NSError **
Optional. If an error occurs, contains error details.

Returns

Type: int64_t

The number of bytes of the plaintext data contained in the protected file (not including the metadata and the publishing license).

Defined in

MSProtectedData.h

Supported Platforms

Minimum supported OS versions
OS 6.0 and OS X 10.8