File: src/Scale/Bytes/Bytes32.sol
Bytes32
Kind: library
ABI Surface
Errors
error InvalidBytes32Length()
Function Surface
function encode(bytes32 value) internal pure returns (bytes)- Encodes an
bytes32into SCALE format.
- Encodes an
function encodedSizeAt(bytes data, uint256 offset) internal pure returns (uint256)- Returns the number of bytes that a
bytes32would occupy when SCALE-encoded.
- Returns the number of bytes that a
function decode(bytes data) internal pure returns (bytes32)- Decodes SCALE-encoded bytes into an
bytes32.
- Decodes SCALE-encoded bytes into an
function decodeAt(bytes data, uint256 offset) internal pure returns (bytes32)- Decodes an
bytes32from SCALE format at the specified offset.
- Decodes an