'How to convert a string like B11001100 to byte arduino

I have a string that is for example

String inc = "B11001100"

This has to become a byte like

byte data = B11001100

How do I convert the String to the byte?



Solution 1:[1]

If you don't need to know if an entity exists and can overwrite the data, then consider using upsert

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jim Morrison