Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
BigGroupBase< Builder, BigGroupType, _use_bigfield, BigfieldScalar >::Parser Class Reference

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

#include <biggroup.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, typename BigGroupType, bool _use_bigfield = false, typename BigfieldScalar = typename BigGroupType::ScalarField>
class BigGroupBase< Builder, BigGroupType, _use_bigfield, BigfieldScalar >::Parser

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

Definition at line 756 of file biggroup.fuzzer.hpp.

Member Function Documentation

◆ parseInstructionArgs()

template<typename Builder , typename BigGroupType , bool _use_bigfield = false, typename BigfieldScalar = typename BigGroupType::ScalarField>
template<typename Instruction::OPCODE opcode>
static Instruction BigGroupBase< Builder, BigGroupType, _use_bigfield, BigfieldScalar >::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 765 of file biggroup.fuzzer.hpp.

◆ writeInstruction()

template<typename Builder , typename BigGroupType , bool _use_bigfield = false, typename BigfieldScalar = typename BigGroupType::ScalarField>
template<typename Instruction::OPCODE instruction_opcode>
static void BigGroupBase< Builder, BigGroupType, _use_bigfield, BigfieldScalar >::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 839 of file biggroup.fuzzer.hpp.


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