@hyperlane-xyz/core
Version:
Core solidity contracts for Hyperlane
13 lines (3 loc) • 313 B
Markdown
> Lib_Buffer
*This library implements a bytes32 storage array with some additional gas-optimized functionality. In particular, it encodes its length as a uint40, and tightly packs this with an overwritable "extra data" field so we can store more information with a single SSTORE.*