<p>Although I grasp the concept of Bitwise Operators, I can't say that I have come across many use cases during the webdevelopment process at which I had to resort to using Bitwise Operators.</p>

<ul>
<li>Do you use Bitwise Operators?</li>
<li>Why do you use them?</li>
<li>What are some example use cases?</li>
</ul>

<p>Please remember that this question is specifically intended for use of Bitwise Operators in web languages.</p>

My main use for bitwise operators could be relevant anywhere - representing a set of flags. For instance, you might have an integer in the database representing a set of security permissions for a user, and in your web app you would have to check those before continuing.
Those tend to only require
```
&
```
and
```
|
```
- e.g.
```
```
if ((permissions & Permission.CreateUser) != 0)
{
    ...
}
```
```
or
```
```
Permission requiredPermission = Permission.CreateUser
                                | Permission.ChangePassword;
```
```
Bit
shifting
operators are less useful in "business" applications in my experience.