Rudiments: /home/dmuse/src/rudiments/include/rudiments/private/bytebuffer.h Source File

Rudiments

- Main Page
- Classes

bytebuffer.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3
4 protected:
5 void init(unsigned char *initialcontents,
6 size_t initialsize, size_t increment);
7 void clearExtentList();
8 void clear(bool resetpositions);
9 bytebuffer *copy(unsigned char *data,
10 size_t size, bool copyin,
11 size_t *bytescopied);
12 void extend(size_t size);
13 unsigned char *coalesce(bool replaceinitial);
14 void bytebufferClone(const bytebuffer &v);
15
16 size_t _end();
17 void _end(size_t e);
18 size_t _position();
19 void _position(size_t pos);
20
21 private:
22 bytebufferprivate *pvt;
bytebuffer
Definition: bytebuffer.h:21