Definition at line 18 of file cutter.c.
cPacketBuffer::cPacketBuffer |
( |
void |
| ) |
|
cPacketBuffer::~cPacketBuffer |
( |
| ) |
|
void cPacketBuffer::Append |
( |
uchar * |
Data, |
|
|
int |
Length |
|
) |
| |
Appends Length bytes of Data to this packet buffer.
Definition at line 46 of file cutter.c.
References data, length, and size.
void cPacketBuffer::Flush |
( |
uchar * |
Data, |
|
|
int & |
Length, |
|
|
int |
MaxLength |
|
) |
| |
Flushes the content of this packet buffer into the given Data, starting at position Length, and clears the buffer afterwards.
Length will be incremented accordingly. If Length plus the total length of the stored packets would exceed MaxLength, nothing is copied.
Definition at line 61 of file cutter.c.
References data, and length.
uchar* cPacketBuffer::data |
|
private |
int cPacketBuffer::length |
|
private |
The documentation for this class was generated from the following file: