14 #ifndef STRINGSTREAMBUF_H 15 #define STRINGSTREAMBUF_H 32 INLINE
void swap_data(vector_uchar &data);
33 INLINE
const vector_uchar &get_data()
const;
35 size_t read_chars(
char *start,
size_t length);
36 void write_chars(
const char *start,
size_t length);
39 virtual std::streampos seekoff(std::streamoff off, ios_seekdir dir, ios_openmode which);
40 virtual std::streampos seekpos(std::streampos pos, ios_openmode which);
42 virtual int overflow(
int c);
44 virtual int underflow();
Used by StringStream to implement an stream that reads from and/or writes to a memory buffer,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.