class RefBuffer : public nn::nex::RootObject
Manages buffer references.
Has a pointer to a buffer, which is shared among RefBuffer
objects. When copying betweenRefBuffer
objects, the reference counter for the buffer is incremented. The buffers themselves are not copied.
The destructor for RefBuffer
decrements the reference counter for the buffer. Using the RefBuffer
class makes buffer reference counter operations unnecessary.
RefBuffer
|
Constructor. | |
---|---|---|
~RefBuffer
|
Destructor. | |
Get
|
Gets a pointer to the buffer maintained in RefBuffer . |
|
GetSize
|
Gets the size of the buffer maintained in RefBuffer . |
|
operator=
|
Shares the RefBuffer object and buffer to assign. Increments the buffer reference counter. |
|
operator[]
|
Accesses the specified byte in the buffer maintained in RefBuffer . |
nn::nex::RootObject
nn::nex::RefBuffer
CONFIDENTIAL