NSData.as constructor

NSData.as(
  1. ObjCObject other
)

Constructs a NSData that points to the same underlying object as other.

Implementation

NSData.as(objc.ObjCObject other) : object$ = other {
  assert(isA(object$));
}