30 INLINE
void append_data(
const char *buffer,
size_t size);
31 INLINE
char *get_write_pointer(
size_t size);
32 INLINE
void append_junk(
size_t size);
33 INLINE
void rewrite_data(
size_t position,
const char *buffer,
size_t size);
34 INLINE
char *get_rewrite_pointer(
size_t position,
size_t size);
37 INLINE std::string get_string()
const;
38 INLINE
size_t get_length()
const;
40 INLINE
const char *get_data()
const;
41 INLINE
char *take_data();
44 void set_used_length(
size_t size);
48 size_t _allocated_size;
This is a block of data that receives the results of DCPacker.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.