Represents an exception-safe Cocoa NSData which behaves like a shared_ptr but can implicitly cast itself to NSData*. More...
#import <CinderCocoa.h>
Public Member Functions | |
() | - SafeNsData |
() | - SafeNsData |
Creates a SafeNsData using an existing cinder::Buffer. The SafeNsData retains a copy of the buffer in order to prevent its deletion. | |
() | - operator NSData *const |
Represents an exception-safe Cocoa NSData which behaves like a shared_ptr but can implicitly cast itself to NSData*.
- cinder: |
- cinder: | (const Buffer &) | buffer |
Creates a SafeNsData using an existing cinder::Buffer. The SafeNsData retains a copy of the buffer in order to prevent its deletion.
- cinder: |