microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
microfmt::gdb::server_response_decoder Class Reference

Parses incoming GDB server responses (acting as a GDB client). More...

#include <gdb_decoders.hpp>

Static Public Member Functions

static RELOCO_BEGIN_UNSAFE_CODE server_response_type decode (string_view payload, server_response_view &out_view) noexcept
 
RELOCO_END_UNSAFE_CODE static RELOCO_BEGIN_UNSAFE_CODE span< const uint8_t > decode_hex_data (string_view hex_data, scratch_allocator &scratch) noexcept
 Utility for the client to decode a raw_string hex response (e.g., memory or register blocks) directly into the scratch allocator.
 

Detailed Description

Parses incoming GDB server responses (acting as a GDB client).

Member Function Documentation

◆ decode()

static RELOCO_BEGIN_UNSAFE_CODE server_response_type microfmt::gdb::server_response_decoder::decode ( string_view  payload,
server_response_view &  out_view 
)
inlinestaticnoexcept

◆ decode_hex_data()

RELOCO_END_UNSAFE_CODE static RELOCO_BEGIN_UNSAFE_CODE span< const uint8_t > microfmt::gdb::server_response_decoder::decode_hex_data ( string_view  hex_data,
scratch_allocator &  scratch 
)
inlinestaticnoexcept

Utility for the client to decode a raw_string hex response (e.g., memory or register blocks) directly into the scratch allocator.


The documentation for this class was generated from the following file: