Artwork

Content provided by Andrew Walpole. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Andrew Walpole or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Using Bitmasks for Efficient App Configurations

21:54
 
Share
 

Manage episode 343982091 series 3220746
Content provided by Andrew Walpole. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Andrew Walpole or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.

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

--- Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support
  continue reading

10 episodes

Artwork
iconShare
 
Manage episode 343982091 series 3220746
Content provided by Andrew Walpole. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Andrew Walpole or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://ppacc.player.fm/legal.

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

--- Send in a voice message: https://podcasters.spotify.com/pod/show/codesnippet/message Support this podcast: https://podcasters.spotify.com/pod/show/codesnippet/support
  continue reading

10 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide

Listen to this show while you explore
Play