#include <bytebuf.h>
Definition at line 15 of file bytebuf.h.
◆ ByteBuf() [1/2]
LibThread::ByteBuf::ByteBuf |
( |
| ) |
|
|
inline |
◆ ByteBuf() [2/2]
Definition at line 23 of file bytebuf.h.
23 :
25 {
28 }
char * allocate_space(size_t n)
◆ ~ByteBuf()
LibThread::ByteBuf::~ByteBuf |
( |
| ) |
|
|
inline |
Definition at line 37 of file bytebuf.h.
37 {
39 }
void free_space(size_t n, char *p)
◆ operator=()
Definition at line 29 of file bytebuf.h.
29 {
35 return *this;
36 }
◆ read()
void LibThread::ByteBuf::read |
( |
T & |
value | ) |
|
|
inline |
Definition at line 62 of file bytebuf.h.
62 {
64 }
void read_bytes(char *p, size_t n)
◆ read_bytes()
void LibThread::ByteBuf::read_bytes |
( |
char * |
p, |
|
|
size_t |
n |
|
) |
| |
|
inline |
◆ seek()
void LibThread::ByteBuf::seek |
( |
size_t |
p | ) |
|
|
inline |
◆ size()
size_t LibThread::ByteBuf::size |
( |
| ) |
|
|
inline |
◆ write()
void LibThread::ByteBuf::write |
( |
T & |
value | ) |
|
|
inline |
Definition at line 58 of file bytebuf.h.
58 {
60 }
void write_bytes(char *p, size_t n)
◆ write_bytes()
void LibThread::ByteBuf::write_bytes |
( |
char * |
p, |
|
|
size_t |
n |
|
) |
| |
|
inline |
◆ buf
char* LibThread::ByteBuf::buf |
|
private |
◆ cap
size_t LibThread::ByteBuf::cap |
|
private |
◆ count
size_t LibThread::ByteBuf::count |
|
private |
◆ pos
size_t LibThread::ByteBuf::pos |
|
private |
The documentation for this class was generated from the following file: