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