- IntRange exists
- UIntRange exists
- LongRange exists
- ULongRange exists
- CharRange exists
Why doesn’t ByteRange and UByteRange exist ?
Something’s wrong in this picture…
Before the question gets asked : yes, I have a use case for it, as a part of bitfield management. It seems I will find a solution by casting it to ClosedRange<Byte>
, but it’s unwieldy and pops out an unsafe cast warning.