NTBinaryData


@interface NTBinaryData : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

A wrapper class for binary data (Blob).

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Return Value

    The hash value of this object.

  • Constructs an empty BinaryData object.

    Declaration

    Objective-C

    - (id)init;
  • Constructs a BinaryData object from a raw byte array.

    Declaration

    Objective-C

    - (id)initWithDataPtr:(unsigned char *)dataPtr size:(unsigned int)size;

    Parameters

    dataPtr

    The raw pointer to the data.

    size

    The size of the data in bytes.

  • Returns the size of the data

    Declaration

    Objective-C

    - (unsigned int)size;

    Return Value

    The size of the data.

  • Returns the data array.

    Declaration

    Objective-C

    - (unsigned char *)getData;

    Return Value

    The data array.

  • Creates a string representation of this map bounds object, useful for logging.

    Declaration

    Objective-C

    - (NSString *)description;

    Return Value

    The string representation of this map bounds object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;