FreeImage.WriteMemory Method

FreeImage.NET

FreeImageWriteMemory Method
Writes data to a memory stream.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static uint WriteMemory(
	byte[] buffer,
	uint size,
	uint count,
	FIMEMORY stream
)

Parameters

buffer
Type: SystemByte
The buffer to read the data from.
size
Type: SystemUInt32
Size in bytes of the items.
count
Type: SystemUInt32
Number of items to write.
stream
Type: FreeImageAPIFIMEMORY
The stream to write to. The memory pointer associated with stream is increased by the number of bytes actually written.

Return Value

Type: UInt32
The number of full items actually written. May be less than count on error or stream-end.
See Also