In this episode, we look at 2 functions to encode and decode a bitmask for a set of configuration flags. This is a great way to efficiently store user or app settings. As always, the code for this snippet can be found here:
https://codepen.io/walpolea/pen/WNNwaBq?editors=0012
정보
- 프로그램
- 발행일2019년 10월 16일 오후 1:54 UTC
- 길이22분
- 시즌1
- 에피소드11
- 등급전체 연령 사용가