File: src/Scale/Array/I32Arr.sol
I32Arr
Kind: library
ABI Surface
Errors
error InvalidI32ArrLength()
Function Surface
function encode(int32\[\] arr) internal pure returns (bytes)- Encodes an
int32[]into SCALE format.
- Encodes an
function encodedSizeAt(bytes data, uint256 offset) internal pure returns (uint256)- Returns the number of bytes that a
int32[]would occupy when SCALE-encoded.
- Returns the number of bytes that a
function decode(bytes data) internal pure returns (int32\[\], uint256)- Decodes an
int32[]from SCALE format.
- Decodes an
function decodeAt(bytes data, uint256 offset) internal pure returns (int32\[\], uint256)- Decodes an
int32[]from SCALE format at the specified offset.
- Decodes an