from panda3d.direct import DCPackData
This is a block of data that receives the results of DCPacker.
__init__() → None¶
__init__(param0: DCPackData) → None
clear() → None¶
Empties the contents of the data (without necessarily freeing its allocated memory).
getString() → str¶
Returns the data buffer as a string. Also see get_data().
getLength() → size_t¶
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.
- Return type