internal byte[] ToBytes() { var pointer = Cocoa.SendIntPtr(Handle, sel_bytes); int size = Cocoa.SendInt(Handle, sel_length); byte[] bytes = new byte[size]; Marshal.Copy(pointer, bytes, 0, size); return(bytes); }
internal int ClearContents() => Cocoa.SendInt(Handle, sel_clear_contents);
internal int Count() => Cocoa.SendInt(Handle, sel_count);