Skip to content

File: src/Scale/Bytes/Bytes16.sol

Bytes16

Kind: library

ABI Surface

Errors

  • error InvalidBytes16Length()

Function Surface

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

Created with solidity-doc-generator