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
- 年齡分級兒少適宜