Reads data from a memory stream.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static uint ReadMemory( byte[] buffer, uint size, uint count, FIMEMORY stream ) |
Visual Basic (Declaration) |
---|
Public Shared Function ReadMemory ( _ buffer As Byte(), _ size As UInteger, _ count As UInteger, _ stream As FIMEMORY _ ) As UInteger |
Visual C++ |
---|
public: static unsigned int ReadMemory( array<unsigned char>^ buffer, unsigned int size, unsigned int count, FIMEMORY stream ) |
Parameters
- buffer
- Type: array<
System..::.Byte
>[]()[]
The buffer to store the data in.
- size
- Type: System..::.UInt32
Size in bytes of the items.
- count
- Type: System..::.UInt32
Number of items to read.
- stream
- Type: FreeImageAPI..::.FIMEMORY
The stream to read from. The memory pointer associated with stream is increased by the number of bytes actually read.