GdbPacket.h
Go to the documentation of this file.
void write(const void *data, unsigned length)
Output block of data exactly as given without escaping.
static uint32_t readHexValue(const char *&data)
Decode a variable-length hex value, MSB first.
void writeHexBlock(const void *src, size_t size)
Output a block of data, hex-encoded.
static void encodeHexBlock(char *dst, const void *src, size_t size)
Encode a value as hex characters, LSB first.
static size_t decodeHexBlock(void *dst, const char *&src)
Decode hex-encoded data block.
Definition: GdbPacket.h:19
void writeStr(const char *str)
Output a null-terminated string exactly as given without escaping.
void writeStrRef(const char *str)
Output a string reference in addr/len format.
void writeChar(char c)
void writeEscaped(const void *data, unsigned length)
Send a block of data, escaping as required.