Solidity Tutorial : all about Bytes
Bytes are easy to work with in Solidity because they are treated a lot like an array. You can just decode the bytes in the frontend and less data is stored on the blockchain.
Table of Content :
- Basics of bytes in Solidity
- Fixed-size byte arrays
- Dynamically-size byte arrays