Code Snippet

Using Bitmasks for Efficient App Configurations


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

Code SnippetBy Andrew Walpole

  • 5
  • 5
  • 5
  • 5
  • 5

5

2 ratings