Casts a string to an integer at compile-time. Allows for fast string comparison using integers: *cast(uint*)"\xAA\xBB\xCC\xDD".ptr == castInt("\xAA\xBB\xCC\xDD")
See Implementation
Casts a string to an integer at compile-time. Allows for fast string comparison using integers: *cast(uint*)"\xAA\xBB\xCC\xDD".ptr == castInt("\xAA\xBB\xCC\xDD")