Why does a public 'byte' data type appear as a Boolean (check box) in Unity Editor?

I need to use 'byte' in the form 2^8 = 0-255 for compatibility of values with hardware.

Why does the declaration of a variable with data type 'byte' appear as a boolean in the Unity editor?

Or how could I clamp an int32 to be 0-255?

I wish to use a single dimension array of values 0-255 for hardware compatibility.

Suggestions?

There is no hardware unity supports which has byte limitations for single dimension arrays, not even if you target the iPhone 2g, the worst level of hardware supported I think.

Sure this isn't meant to be about a general coding in .NET and not in relation to Unity?

As for the question itself: Report a bug. Should definitely not appear as boolean but as normal text input field

in the meantime you can write a CustomEditor for your class which shows you a text field there to circumvent it