c4d.storage.MemoryFileStruct
¶
This class is used to write to memory instead of to a file.
See also
MemoryFileData.py for an example showing how to write/read data to/from a memory file and MemoryFileBitmap.py to see how to write/read a bitmap to/from a memory file.
c4d.storage.
MemoryFileStruct
¶
MemoryFileStruct.
__init__
(
)
¶
Return type: | c4d.storage.MemoryFileStruct |
---|---|
Returns: | The memory file object. |
MemoryFileStruct.
SetMemoryReadMode
(
adr
,
size
)
¶
Sets the buffer read from a memory block instead of from a file.
Parameters: |
|
---|
MemoryFileStruct.
SetMemoryWriteMode
(
)
¶
Sets the buffer ready to be written to.