Esempio n. 1
0
        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);
Esempio n. 3
0
 internal int Count() => Cocoa.SendInt(Handle, sel_count);