FreeImage.NET Class Library Reference
ReadProc Delegate |
Delegate to the C++ function fread.
Namespace: FreeImageAPI.IO
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public delegate uint ReadProc( IntPtr buffer, uint size, uint count, fi_handle handle )
Parameters
- buffer
- Type: SystemIntPtr
Pointer to read from. - size
- Type: SystemUInt32
Item size in bytes. - count
- Type: SystemUInt32
Maximum number of items to be read. - handle
- Type: FreeImageAPI.IOfi_handle
Handle/stream to read from.
Return Value
Type: UInt32Number of full items actually read, which may be less than count if an error occurs or if the end of the file is encountered before reaching count.
See Also