public static NSData FromData(NSData source) { return Runtime.GetNSObject<NSData>(ObjC.MessageSendIntPtr(_classHandle, "dataWithData:", source.Handle)); }
protected override void Dispose(bool disposing) { _data = null; base.Dispose(disposing); }
#pragma warning restore 414 public unsafe UnmanagedMemoryStreamWithRef(NSData source) : base((byte*)((void*)source.Bytes), (long)((ulong)source.Length)) { _data = source; }
public static NSTimeZone FromName(string name, NSData data) { return Runtime.GetNSObject<NSTimeZone>(ObjC.MessageSendIntPtr(_classHandle, "timeZoneWithName:data:", name, data.Handle)); }
public static UIImage LoadFromData(NSData data, float scale) { return(Runtime.GetNSObject <UIImage>(ObjC.MessageSendIntPtr(_classHandle, "imageWithData:scale:", data.Handle, scale))); }
public static UIImage LoadFromData(NSData data, float scale) { return Runtime.GetNSObject<UIImage>(ObjC.MessageSendIntPtr(_classHandle, "imageWithData:scale:", data.Handle, scale)); }