Skip to content

File: src/Scale/Array/I128Arr.sol

I128Arr

Kind: library

ABI Surface

Errors

  • error InvalidI128ArrLength()

Function Surface

  • function encode(int128\[\] arr) internal pure returns (bytes)
    • Encodes an int128[] into SCALE format.
  • function encodedSizeAt(bytes data, uint256 offset) internal pure returns (uint256)
    • Returns the number of bytes that a int128[] would occupy when SCALE-encoded.
  • function decode(bytes data) internal pure returns (int128\[\], uint256)
    • Decodes an int128[] from SCALE format.
  • function decodeAt(bytes data, uint256 offset) internal pure returns (int128\[\], uint256)
    • Decodes an int128[] from SCALE format at the specified offset.

Created with solidity-doc-generator