Pipeline
Last updated
Last updated
Library for handling pipeline operations that copy and paste data between operations
Uses bit manipulation and assembly for efficient data movement
Process pipeline operations by copying data between operations
function pipe(bytes memory data, CalldataReader reader, bytes[] memory results)
internal
pure
returns (CalldataReader);
Parameters
data
bytes
The calldata to modify
reader
CalldataReader
Current position in the calldata
results
bytes[]
Array of previous operation results to copy from
Returns
<none>
CalldataReader
Updated CalldataReader position after processing pipeline operations
Thrown when trying to copy from an invalid position in source data
error Aera__CopyOffsetOutOfBounds();
Thrown when trying to paste to an invalid position in target data
error Aera__PasteOffsetOutOfBounds();