// Copyright 2025-present 650 Industries. All rights reserved. #import #import namespace expo { bool isASCIIAndNotNull(const uint8_t c) { constexpr uint32_t asciiMask = 0x7f; return ((c & static_cast(~asciiMask)) == 0 && c != 0); } bool isAllASCIIAndNotNull(const uint8_t * _Nonnull begin, const uint8_t * _Nonnull end) { while (begin < end) { if (!isASCIIAndNotNull(*begin)) return false; ++begin; } return true; } } // namespace expo