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日 UTC 13:54
- 长度22 分钟
- 季1
- 单集11
- 分级儿童适宜