_imBinMemoryFileName

\brief Memory File Filename Parameter Structure * * \par * Fake file name for the memory I/O module. * \ingroup binfile

extern (C) @safe nothrow
struct _imBinMemoryFileName {}

Members

Variables

buffer
ubyte* buffer;

< The memory buffer. If you are reading the buffer must exists. * If you are writing the buffer can be internally allocated to the given size. The buffer is never free. * The buffer is allocated using "malloc", and reallocated using "realloc". Use "free" to release it. * To avoid RTL conflicts use the function imBinMemoryRelease.

reallocate
float reallocate;

< Reallocate factor for the memory buffer when writing (size += reallocate*size). * Set reallocate to 0 to disable reallocation, in this case buffer must not be NULL.

size
int size;

< Size of the buffer.

Meta