EMSecureByteArray

Objective-C

@protocol EMSecureByteArray <EMSecureContainer>

Swift

protocol EMSecureByteArray : EMSecureContainer

A protocol representing a secure byte array object in memory.

  • Returns the data carried by this secure byte array object.

    Declaration

    Objective-C

    - (NSData *)dataValue;

    Swift

    func dataValue() -> Data!

    Return Value

    The data from this object.

  • Retrieves the length of the data stored in this secure byte array object.

    Declaration

    Objective-C

    - (NSUInteger)length;

    Swift

    func length() -> UInt

    Return Value

    The number of bytes.