Example #1
0
		public static void Read (Handle handle, out byte buffer, uint bytes, AsyncReadCallback callback)
		{
			AsyncReadCallbackWrapper wrapper = new AsyncReadCallbackWrapper (callback, null);
			gnome_vfs_async_read (handle.Handle, out buffer, bytes, wrapper.NativeDelegate, IntPtr.Zero);
		}
Example #2
0
        public static void Read(Handle handle, out byte buffer, uint bytes, AsyncReadCallback callback)
        {
            AsyncReadCallbackWrapper wrapper = new AsyncReadCallbackWrapper(callback, null);

            gnome_vfs_async_read(handle.Handle, out buffer, bytes, wrapper.NativeDelegate, IntPtr.Zero);
        }