Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Deskflow protocol utilities. More...
#include <ProtocolUtil.h>
Static Public Member Functions | |
static void | writef (deskflow::IStream *, const char *fmt,...) |
Write formatted data. | |
static bool | readf (deskflow::IStream *, const char *fmt,...) |
Read formatted data. |
Deskflow protocol utilities.
This class provides various functions for implementing the deskflow protocol.
|
static |
Read formatted data.
Read formatted binary data from a buffer. This performs the reverse operation of writef(). Returns true if the entire format was successfully parsed, false otherwise.
Format specifiers are:
|
static |
Write formatted data.
Write formatted binary data to a stream. fmt
consists of regular characters and format specifiers. Format specifiers begin with %. All characters not part of a format specifier are regular and are transmitted unchanged.
Format specifiers are: