mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:32:43 +00:00 
			
		
		
		
	|  c3abb1396c First, this adds an overload of PrimitiveString::create for StringView. This overload will throw an OOM completion if creating a String fails. This is not only a bit more convenient, but it also ensures at compile time that all PrimitiveString::create(string_view) invocations will be handled as String and OOM-aware. Next, this wraps all invocations to PrimitiveString::create(string_view) with MUST_OR_THROW_OOM. A small PrimitiveString::create(DeprecatedFlyString) overload also had to be added to disambiguate between the StringView and DeprecatedString overloads. | ||
|---|---|---|
| .. | ||
| Base64.cpp | ||
| Base64.h | ||
| ByteSequences.cpp | ||
| ByteSequences.h | ||
| CharacterTypes.h | ||
| JSON.cpp | ||
| JSON.h | ||
| Strings.cpp | ||
| Strings.h | ||