Lib_Buffer.md 313 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
# Lib_Buffer



> 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.*