42     std::size_t toRead = buffer.
toRead();
    50     if (toRead < packet.
dataLen + 4U)
    55         for (
unsigned int i = 0; i < packet.
dataLen; ++i)
    85     for (
int i                               = 0; i < packet.
dataLen; ++i)
    90         return (packet.
dataLen + 4 + 1);
 
static RplethPacket decodeCommand(CircularBuffer &buffer, bool from_server=false)
Decode a packet from a circular buffer object. 
 
Rpleth protocol implementation. 
 
static const std::size_t PacketMinSize
 
static const std::size_t TypeByteIdx
 
Namespace where implementation for Rpleth support takes place. 
 
Implementation of a ring buffer. 
 
static const std::size_t CommandByteIdx
 
static std::size_t encodeCommand(const RplethPacket &packet, Byte *buffer, std::size_t size)
 
static const std::size_t SizeByteIdx
 
std::size_t toRead() const
 
void fastForward(std::size_t offset)