API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IVFSNODE_SETDATABUFFERSIZE()

Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_SetProperty() IVFSNODE_SetDataBuffer()
Description
Sets the size of the data buffer of String and Data type nodes.
Params
po
[]:
Pointer to the IVfsNode interface object
size
[]:
The new size of the data buffer
Interface
  • IVFSNODE
Prototype
  •    int IVFSNODE_SetDataBufferSize(IVfsNode * po,int size)
    
Return
  •    SUCCESS, or standard error code.
    
Side Effect
  • DO NOT call SetDataBufferSize unless you have previously called IVFSNODE_SetDataBuffer().
Comments
Inline accessor for IVFSNODE_SetProperty(..., NODEPROPERTY_BUFFSIZE) Only valid for NODETYPE_STRING and NODETYPE_DATA. Other types return an error. You should always call SetDataBufferSize() immediately after SetDataBuffer().