Bit Masking | EVM Storage 2

Published: 09 April 2024
on channel: Smart Contract Programmer
1,445
49

Some bit masking tricks (written in Yul) that we will need to read and write state variables that are packed into a single slot.

Playlist
   • EVM  

0:00 Intro
3:13 Bit masking 16 bits of 1s
5:53 All 0s except 16 bits of 1s in the middle
8:03 All 1s except 16 bits of zeros in the middle

Code
https://solidity-by-example.org/evm/s...

Take a course
https://www.smartcontract.engineer/

Remix
https://remix.ethereum.org

#Solidity #SmartContract #Ethereum #スマートコントラクト

Follow
https://odysee.com/@SmartContractProg...
  / programmersmart  
  / discord  
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com


Watch video Bit Masking | EVM Storage 2 online without registration, duration hours minute second in high quality. This video was added by user Smart Contract Programmer 09 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,445 once and liked it 49 people.