Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
BigFieldBase< Builder >::Parser Class Reference

Parser class handles the parsing and writing the instructions back to data buffer. More...

#include <bigfield.fuzzer.hpp>

Static Public Member Functions

template<typename Instruction::OPCODE opcode>
static Instruction parseInstructionArgs (uint8_t *Data)
 Parse a single instruction from data.
 
template<typename Instruction::OPCODE instruction_opcode>
static void writeInstruction (Instruction &instruction, uint8_t *Data)
 Write a single instruction to buffer.
 

Detailed Description

template<typename Builder>
class BigFieldBase< Builder >::Parser

Parser class handles the parsing and writing the instructions back to data buffer.

Definition at line 650 of file bigfield.fuzzer.hpp.

Member Function Documentation

◆ parseInstructionArgs()

template<typename Builder >
template<typename Instruction::OPCODE opcode>
static Instruction BigFieldBase< Builder >::Parser::parseInstructionArgs ( uint8_t *  Data)
inlinestatic

Parse a single instruction from data.

Template Parameters
opcodeThe opcode we are parsing
Parameters
DataPointer to arguments in buffer
Returns
Parsed instructiong

Definition at line 659 of file bigfield.fuzzer.hpp.

◆ writeInstruction()

template<typename Builder >
template<typename Instruction::OPCODE instruction_opcode>
static void BigFieldBase< Builder >::Parser::writeInstruction ( Instruction instruction,
uint8_t *  Data 
)
inlinestatic

Write a single instruction to buffer.

Template Parameters
instruction_opcodeInstruction type
Parameters
instructioninstruction
DataPointer to the data buffer (needs to have enough space for the instruction)

Definition at line 734 of file bigfield.fuzzer.hpp.


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