Zen API
zMemory_Attach
C
zStatus zMemory_Attach(zMemory memory, void* buffer, zUIntPtr position, zUIntPtr length, zUIntPtr capacity);
Parameters
Parameters 
Description 
zMemory memory 
zMemory object. 
void* buffer 
Data buffer. 
zUIntPtr position 
Current read/write position, relative to start of buffer. 
zUIntPtr length 
Length of valid data contained in the buffer, in bytes. 
zUIntPtr capacity 
Total size of the buffer, in bytes. 
Description

Specifies the buffer associated with the memory stream.

File

zMemory.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.