WordPackingLib
Functions
pack
function pack(bytes8 word1, bytes8 word2, bytes8 word3, bytes8 word4) external pure returns (bytes32 word);
unpack
function unpack(bytes32 word) external pure returns (bytes8, bytes8, bytes8, bytes8);
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
function pack(bytes8 word1, bytes8 word2, bytes8 word3, bytes8 word4) external pure returns (bytes32 word);
function unpack(bytes32 word) external pure returns (bytes8, bytes8, bytes8, bytes8);