Panda3D
|
This is a block of data that receives the results of DCPacker. More...
Public Member Functions | |
__init__ () | |
clear () | |
Empties the contents of the data (without necessarily freeing its allocated memory). More... | |
size_t | getLength () |
Returns the current length of the buffer. This is the number of useful bytes stored in the buffer, not the amount of memory it takes up. More... | |
str | getString () |
Returns the data buffer as a string. Also see get_data(). More... | |
This is a block of data that receives the results of DCPacker.
__init__ | ( | ) |
clear | ( | ) |
Empties the contents of the data (without necessarily freeing its allocated memory).
size_t getLength | ( | ) |
Returns the current length of the buffer. This is the number of useful bytes stored in the buffer, not the amount of memory it takes up.
str getString | ( | ) |
Returns the data buffer as a string. Also see get_data().