|
LLZK 3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
|
Accumulate fixed-width integers and field elements in little-endian order. More...
#include <BinaryBuffer.h>
Public Member Functions | |
| void | writeU32 (uint32_t value) |
| void | writeU64 (uint64_t value) |
| void | writeBytes (llvm::ArrayRef< char > bytes) |
| llvm::Error | writeFieldElement (uint32_t size, const llvm::DynamicAPInt &value) |
| Append an unsigned fixed-width field encoding, rejecting overflow and negatives. | |
| uint64_t | size () const |
| llvm::ArrayRef< char > | bytes () const |
Accumulate fixed-width integers and field elements in little-endian order.
Definition at line 25 of file BinaryBuffer.h.
|
inline |
Definition at line 49 of file BinaryBuffer.h.
|
inline |
Definition at line 48 of file BinaryBuffer.h.
|
inline |
Definition at line 30 of file BinaryBuffer.h.
|
inline |
Append an unsigned fixed-width field encoding, rejecting overflow and negatives.
On failure the buffer is unchanged.
Definition at line 34 of file BinaryBuffer.h.
|
inline |
Definition at line 27 of file BinaryBuffer.h.
|
inline |
Definition at line 28 of file BinaryBuffer.h.