microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::address_space_ref::vtable Struct Reference

Virtual table of address-space operations. More...

#include <address_space.hpp>

Public Attributes

bool(* read_bytes )(const void *ctx, uintptr_t addr, void *dest, size_t size) noexcept = nullptr
 Reads raw bytes. See address_space_ref::read_bytes.
 
bool(* write_bytes )(const void *ctx, uintptr_t addr, const void *src, size_t size) noexcept = nullptr
 Writes raw bytes. See address_space_ref::write_bytes.
 
bool(* read_string )(const void *ctx, uintptr_t addr, char *dest, size_t max_len, size_t &out_len, bool &null_term) noexcept = nullptr
 Reads a string. See address_space_ref::read_string_chunk.
 

Detailed Description

Virtual table of address-space operations.

Member Data Documentation

◆ read_bytes

bool(* microfmt::address_space_ref::vtable::read_bytes) (const void *ctx, uintptr_t addr, void *dest, size_t size) noexcept = nullptr
noexcept

Reads raw bytes. See address_space_ref::read_bytes.

◆ read_string

bool(* microfmt::address_space_ref::vtable::read_string) (const void *ctx, uintptr_t addr, char *dest, size_t max_len, size_t &out_len, bool &null_term) noexcept = nullptr
noexcept

◆ write_bytes

bool(* microfmt::address_space_ref::vtable::write_bytes) (const void *ctx, uintptr_t addr, const void *src, size_t size) noexcept = nullptr
noexcept

Writes raw bytes. See address_space_ref::write_bytes.


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