carb/extras/StringSafe.h¶
↰ Parent directory: carb/extras/
Wrappers for libc string functions to avoid dangerous edge cases.
Source: carb/extras/StringSafe.h
Included By¶
omni/structuredlog/StructuredLogSettingsUtils.h: Utilities for the carb::settings::ISettings settings for structured logging.
carb/extras/Library.h: Provides helper functions to handle library loading and management.
carb/extras/SharedMemory.h: Provides a helper class to manage a block of shared memory.
carb/extras/TestEnvironment.h: Provides helper functions to check the platform a process is running on.
carb/extras/Uuid.h: UUIDv4 utilities.
carb/launcher/LauncherUtils.h: Helper classes and functions for the ILauncher interface.
omni/extras/PrivacySettings.h: Helper class to retrieve the current privacy settings state.
omni/structuredlog/BinarySerializer.h: Module for serializing data into the structured logging queue.
omni/structuredlog/JsonSerializer.h: Module for manually serializing JSON data with low performance overhead.
Namespaces¶
carb: The main Carbonite namespace.
carb::extras: Common namespace for extra helper functions and classes.
Functions¶
carb::extras::compareStrings: Compare two strings in a case sensitive manner.
carb::extras::compareStringsNoCase: Compare two strings in a case insensitive manner.
carb::extras::copyStringSafe: Copy a string with optional truncation.
carb::extras::copyStringSafe: Copy slice of string with optional truncation.
carb::extras::formatString: A snprintf wrapper that clamps the return value.
carb::extras::formatStringV: A vsnprintf wrapper that clamps the return value.
carb::extras::isMemoryOverlap: Check if two memory regions overlaps.
carb::extras::isStringPrefix: Test if one string is a prefix of the other.