Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::wasm_ops::field_specific_params< Field > Struct Template Reference

#include <wasm_sysio_binary_ops.hpp>

Static Public Member Functions

static auto unpack (char *opcode, Field &f)
 
static void pack (instruction_stream *stream, Field &f)
 
static auto to_string (Field &f)
 

Static Public Attributes

static constexpr int skip_ahead = sizeof(uint16_t) + sizeof(Field)
 

Detailed Description

template<typename Field>
struct sysio::chain::wasm_ops::field_specific_params< Field >

Definition at line 136 of file wasm_sysio_binary_ops.hpp.

Member Function Documentation

◆ pack()

template<typename Field >
static void sysio::chain::wasm_ops::field_specific_params< Field >::pack ( instruction_stream * stream,
Field & f )
inlinestatic

Definition at line 139 of file wasm_sysio_binary_ops.hpp.

139{ return sysio::chain::wasm_ops::pack(stream, f); }
void pack(instruction_stream *stream, uint32_t field)
Here is the call graph for this function:

◆ to_string()

template<typename Field >
static auto sysio::chain::wasm_ops::field_specific_params< Field >::to_string ( Field & f)
inlinestatic

Definition at line 140 of file wasm_sysio_binary_ops.hpp.

140 { return std::string(" ")+
std::string to_string(uint32_t field)
Here is the call graph for this function:

◆ unpack()

template<typename Field >
static auto sysio::chain::wasm_ops::field_specific_params< Field >::unpack ( char * opcode,
Field & f )
inlinestatic

Definition at line 138 of file wasm_sysio_binary_ops.hpp.

138{ f = *reinterpret_cast<Field*>(opcode); }
variant< > opcode
Definition opcodes.hpp:79

Member Data Documentation

◆ skip_ahead

template<typename Field >
int sysio::chain::wasm_ops::field_specific_params< Field >::skip_ahead = sizeof(uint16_t) + sizeof(Field)
staticconstexpr

Definition at line 137 of file wasm_sysio_binary_ops.hpp.


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